Simple abstraction for a YARP port name.
More...
#include <yarp/os/Name.h>
Simple abstraction for a YARP port name.
Definition at line 17 of file Name.h.
◆ Name()
Name::Name |
( |
const std::string & |
txt | ) |
|
Constructor.
- Parameters
-
Definition at line 11 of file Name.cpp.
◆ getCarrierModifier()
std::string Name::getCarrierModifier |
( |
const char * |
mod, |
|
|
bool * |
hasModifier = nullptr |
|
) |
| |
◆ isRooted()
bool Name::isRooted |
( |
| ) |
const |
Check if port name begins with "/".
- Returns
- true if port name begins with "/"
Definition at line 16 of file Name.cpp.
◆ toAddress()
Create an address from the name.
Fills in carrier and name fields. Deals with "tcp://port/name" style syntax.
- Returns
- a partially filled address (there is no communication with the name server, just parsing of information in the name).
Definition at line 27 of file Name.cpp.
The documentation for this class was generated from the following files: