YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
yarp::os::NestedContact Class Reference

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.
 
NestedContactoperator= (const NestedContact &rhs)
 Copy assignment operator.
 
NestedContactoperator= (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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NestedContact() [1/4]

NestedContact::NestedContact ( )

Default constructor.

Definition at line 110 of file NestedContact.cpp.

◆ NestedContact() [2/4]

NestedContact::NestedContact ( const std::string &  fullName)

Constructor.

Parameters
fullNamethe full name.

Definition at line 115 of file NestedContact.cpp.

◆ NestedContact() [3/4]

NestedContact::NestedContact ( const NestedContact rhs)

Copy constructor.

Parameters
rhsthe NestedContact to copy

Definition at line 121 of file NestedContact.cpp.

◆ NestedContact() [4/4]

NestedContact::NestedContact ( NestedContact &&  rhs)
noexcept

Move constructor.

Parameters
rhsthe NestedContact to be moved

Definition at line 126 of file NestedContact.cpp.

◆ ~NestedContact()

NestedContact::~NestedContact ( )

Destructor.

Definition at line 132 of file NestedContact.cpp.

Member Function Documentation

◆ fromString()

bool NestedContact::fromString ( const std::string &  nFullName)

Definition at line 153 of file NestedContact.cpp.

◆ getCategory()

std::string NestedContact::getCategory ( ) const

Definition at line 191 of file NestedContact.cpp.

◆ getFullName()

std::string NestedContact::getFullName ( ) const

Definition at line 176 of file NestedContact.cpp.

◆ getNestedName()

std::string NestedContact::getNestedName ( ) const

Definition at line 186 of file NestedContact.cpp.

◆ getNodeName()

std::string NestedContact::getNodeName ( ) const

Definition at line 181 of file NestedContact.cpp.

◆ getTypeName()

std::string NestedContact::getTypeName ( ) const

Definition at line 196 of file NestedContact.cpp.

◆ getTypeNameStar()

std::string NestedContact::getTypeNameStar ( ) const

Definition at line 201 of file NestedContact.cpp.

◆ isNested()

bool NestedContact::isNested ( ) const

Definition at line 206 of file NestedContact.cpp.

◆ operator=() [1/2]

NestedContact & NestedContact::operator= ( const NestedContact rhs)

Copy assignment operator.

Parameters
rhsthe NestedContact to copy
Returns
this object

Definition at line 137 of file NestedContact.cpp.

◆ operator=() [2/2]

NestedContact & NestedContact::operator= ( NestedContact &&  rhs)
noexcept

Move assignment operator.

Parameters
rhsthe NestedContact to be moved
Returns
this object

Definition at line 145 of file NestedContact.cpp.

◆ setCategoryRead()

void NestedContact::setCategoryRead ( )

Definition at line 171 of file NestedContact.cpp.

◆ setCategoryWrite()

void NestedContact::setCategoryWrite ( )

Definition at line 166 of file NestedContact.cpp.

◆ setTypeName()

void NestedContact::setTypeName ( const std::string &  nWireType)

Definition at line 161 of file NestedContact.cpp.

◆ toString()

std::string NestedContact::toString ( ) const

Definition at line 211 of file NestedContact.cpp.


The documentation for this class was generated from the following files: