|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
10 #ifndef YARPDB_NAMESERVERMANAGER_INC
11 #define YARPDB_NAMESERVERMANAGER_INC
22 class NameServerManager;
70 bool ok = ns.
apply(cmd,reply,event,remote);
virtual bool apply(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote) override
A simple collection of objects that can be described and transmitted in a portable way.
void setPort(yarp::os::Port &port)
NameServerManager(NameService &ns, yarp::os::Port *port=NULL)
void onEvent(yarp::os::Bottle &event) override
virtual void onEvent(yarp::os::Bottle &event)
A mini-server for network communication.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
yarp::os::PortReader * create() const override
Factory for PortReader objects.
bool write(const PortWriter &writer, const PortWriter *callback=nullptr) const override
Write an object to the port.
Abstract interface for a name server operator.
virtual bool apply(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote)=0
The main, catch-all namespace for YARP.
Manage a single connection to the name server.