A placeholder for rich contact information. More...
#include <yarp/os/NestedContact.h>
Classes | |
class | Private |
Public Member Functions | |
NestedContact (const std::string &fullName) | |
Constructor. | |
NestedContact (const NestedContact &rhs) | |
Copy constructor. | |
NestedContact (NestedContact &&rhs) noexcept | |
Move constructor. | |
NestedContact & | operator= (const NestedContact &rhs) |
Copy assignment operator. | |
NestedContact & | operator= (NestedContact &&rhs) noexcept |
Move assignment operator. | |
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 22 of file NestedContact.h.
NestedContact::NestedContact | ( | ) |
Default constructor.
Definition at line 110 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 121 of file NestedContact.cpp.
|
noexcept |
Move constructor.
rhs | the NestedContact to be moved |
Definition at line 126 of file NestedContact.cpp.
NestedContact::~NestedContact | ( | ) |
Destructor.
Definition at line 132 of file NestedContact.cpp.
Definition at line 153 of file NestedContact.cpp.
std::string NestedContact::getCategory | ( | ) | const |
Definition at line 191 of file NestedContact.cpp.
std::string NestedContact::getFullName | ( | ) | const |
Definition at line 176 of file NestedContact.cpp.
std::string NestedContact::getNestedName | ( | ) | const |
Definition at line 186 of file NestedContact.cpp.
std::string NestedContact::getNodeName | ( | ) | const |
Definition at line 181 of file NestedContact.cpp.
std::string NestedContact::getTypeName | ( | ) | const |
Definition at line 196 of file NestedContact.cpp.
std::string NestedContact::getTypeNameStar | ( | ) | const |
Definition at line 201 of file NestedContact.cpp.
bool NestedContact::isNested | ( | ) | const |
Definition at line 206 of file NestedContact.cpp.
NestedContact & NestedContact::operator= | ( | const NestedContact & | rhs | ) |
Copy assignment operator.
rhs | the NestedContact to copy |
Definition at line 137 of file NestedContact.cpp.
|
noexcept |
Move assignment operator.
rhs | the NestedContact to be moved |
Definition at line 145 of file NestedContact.cpp.
void NestedContact::setCategoryRead | ( | ) |
Definition at line 171 of file NestedContact.cpp.
void NestedContact::setCategoryWrite | ( | ) |
Definition at line 166 of file NestedContact.cpp.
Definition at line 161 of file NestedContact.cpp.
std::string NestedContact::toString | ( | ) | const |
Definition at line 211 of file NestedContact.cpp.