|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_OS_ROSNAMESPACE_H
10 #define YARP_OS_ROSNAMESPACE_H
30 Contact getNameServerContact()
const override;
32 Contact queryName(
const std::string& name)
override;
33 Contact registerName(
const std::string& name)
override;
35 Contact unregisterName(
const std::string& name)
override;
39 virtual Contact unregisterAdvanced(
const std::string& name,
42 virtual bool setProperty(
const std::string& name,
43 const std::string& key,
44 const Value& value)
override;
46 virtual Value* getProperty(
const std::string& name,
47 const std::string& key)
override;
49 virtual bool connectPortToTopic(
const Contact& src,
52 virtual bool connectTopicToPort(
const Contact& src,
55 virtual bool disconnectPortFromTopic(
const Contact& src,
58 virtual bool disconnectTopicFromPort(
const Contact& src,
61 virtual bool connectPortToPortPersistently(
const Contact& src,
64 virtual bool disconnectPortToPortPersistently(
const Contact& src,
67 virtual bool connectTopic(
Bottle& cmd,
72 bool activeRegistration);
74 bool localOnly()
const override;
75 bool usesCentralServer()
const override;
76 bool serverAllocatesPortNumbers()
const override;
77 bool connectionHasNameOfEndpoints()
const override;
79 virtual Contact detectNameServer(
bool useDetectedServer,
81 bool& serverUsed)
override;
82 virtual bool writeToNameServer(
PortWriter& cmd,
93 static std::string
toRosName(
const std::string& name);
94 static std::string
fromRosName(
const std::string& name);
95 static std::string toRosNodeName(
const std::string& name);
96 static std::string fromRosNodeName(
const std::string& name);
110 #endif // YARP_OS_ROSNAMESPACE_H
A simple collection of objects that can be described and transmitted in a portable way.
Abstract interface for a database of port names.
An abstraction for a thread of execution.
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
An abstract name space for ports.
The main, catch-all namespace for YARP.
A single value (typically within a Bottle).
static std::string toRosName(const std::string &str)
static std::string fromRosName(const std::string &str)