A placeholder for rich contact information. More...
#include <yarp/os/NestedContact.h>
Classes | |
class | Private |
Public Member Functions | |
NestedContact () | |
Default constructor. More... | |
NestedContact (const std::string &fullName) | |
Constructor. More... | |
NestedContact (const NestedContact &rhs) | |
Copy constructor. More... | |
NestedContact (NestedContact &&rhs) noexcept | |
Move constructor. More... | |
~NestedContact () | |
Destructor. More... | |
NestedContact & | operator= (const NestedContact &rhs) |
Copy assignment operator. More... | |
NestedContact & | operator= (NestedContact &&rhs) noexcept |
Move assignment operator. More... | |
bool | fromString (const std::string &nFullName) |
void | setTypeName (const std::string &nWireType) |
void | setCategoryWrite () |
void | setCategoryRead () |
std::string | getFullName () const |
std::string | getNodeName () const |
std::string | getNestedName () const |
std::string | getCategory () const |
std::string | getTypeName () const |
std::string | getTypeNameStar () const |
bool | isNested () const |
std::string | toString () const |
A placeholder for rich contact information.
Includes types, and can express a ROS-style node/topic or node/service combination.
Definition at line 26 of file NestedContact.h.
NestedContact::NestedContact | ( | ) |
Default constructor.
Definition at line 113 of file NestedContact.cpp.
NestedContact::NestedContact | ( | const std::string & | fullName | ) |
NestedContact::NestedContact | ( | const NestedContact & | rhs | ) |
Copy constructor.
rhs | the NestedContact to copy |
Definition at line 124 of file NestedContact.cpp.
|
noexcept |
Move constructor.
rhs | the NestedContact to be moved |
Definition at line 129 of file NestedContact.cpp.
NestedContact::~NestedContact | ( | ) |
Destructor.
Definition at line 135 of file NestedContact.cpp.
bool NestedContact::fromString | ( | const std::string & | nFullName | ) |
Definition at line 156 of file NestedContact.cpp.
std::string NestedContact::getCategory | ( | ) | const |
Definition at line 194 of file NestedContact.cpp.
std::string NestedContact::getFullName | ( | ) | const |
Definition at line 179 of file NestedContact.cpp.
std::string NestedContact::getNestedName | ( | ) | const |
Definition at line 189 of file NestedContact.cpp.
std::string NestedContact::getNodeName | ( | ) | const |
Definition at line 184 of file NestedContact.cpp.
std::string NestedContact::getTypeName | ( | ) | const |
Definition at line 199 of file NestedContact.cpp.
std::string NestedContact::getTypeNameStar | ( | ) | const |
Definition at line 204 of file NestedContact.cpp.
bool NestedContact::isNested | ( | ) | const |
Definition at line 209 of file NestedContact.cpp.
NestedContact & NestedContact::operator= | ( | const NestedContact & | rhs | ) |
Copy assignment operator.
rhs | the NestedContact to copy |
Definition at line 140 of file NestedContact.cpp.
|
noexcept |
Move assignment operator.
rhs | the NestedContact to be moved |
Definition at line 148 of file NestedContact.cpp.
void NestedContact::setCategoryRead | ( | ) |
Definition at line 174 of file NestedContact.cpp.
void NestedContact::setCategoryWrite | ( | ) |
Definition at line 169 of file NestedContact.cpp.
void NestedContact::setTypeName | ( | const std::string & | nWireType | ) |
Definition at line 164 of file NestedContact.cpp.
std::string NestedContact::toString | ( | ) | const |
Definition at line 214 of file NestedContact.cpp.