Implementation of a YARP2-conforming name server. More...
#include <yarp/os/impl/NameServer.h>
Inheritance diagram for yarp::os::impl::NameServer:Public Member Functions | |
| NameServer () | |
| virtual | ~NameServer ()=default |
| Contact | registerName (const std::string &name, const Contact &address) |
| Contact | registerName (const std::string &name, const Contact &address, const std::string &remote) |
| Contact | registerName (const std::string &name) |
| Contact | queryName (const std::string &name) |
| Contact | unregisterName (const std::string &name) |
| std::string | apply (const std::string &txt, const Contact &remote) override |
| bool | apply (const yarp::os::Bottle &cmd, yarp::os::Bottle &result, const Contact &remote) |
| std::string | apply (const std::string &txt) |
| virtual void | onEvent (yarp::os::Bottle &event) |
| void | setBasePort (int basePort) |
Public Member Functions inherited from yarp::os::impl::NameServerStub | |
| virtual | ~NameServerStub ()=default |
Static Public Member Functions | |
| static std::string | textify (const Contact &address) |
| static yarp::os::Bottle | botify (const Contact &address) |
Protected Member Functions | |
| std::string | terminate (const std::string &str) |
Protected Attributes | |
| int | basePort |
Implementation of a YARP2-conforming name server.
Definition at line 42 of file NameServer.h.
|
inline |
Definition at line 45 of file NameServer.h.
|
virtualdefault |
|
inline |
Definition at line 78 of file NameServer.h.
Implements yarp::os::impl::NameServerStub.
Definition at line 689 of file NameServer.cpp.
| bool NameServer::apply | ( | const yarp::os::Bottle & | cmd, |
| yarp::os::Bottle & | result, | ||
| const Contact & | remote | ||
| ) |
Definition at line 724 of file NameServer.cpp.
Definition at line 644 of file NameServer.cpp.
|
inlinevirtual |
Definition at line 83 of file NameServer.h.
Definition at line 151 of file NameServer.cpp.
Definition at line 65 of file NameServer.h.
|
inline |
Definition at line 55 of file NameServer.h.
| Contact NameServer::registerName | ( | const std::string & | name, |
| const Contact & | address, | ||
| const std::string & | remote | ||
| ) |
Definition at line 79 of file NameServer.cpp.
Definition at line 91 of file NameServer.h.
|
protected |
Definition at line 683 of file NameServer.cpp.
Definition at line 628 of file NameServer.cpp.
Definition at line 50 of file NameServer.cpp.
|
protected |
Definition at line 481 of file NameServer.h.