6#ifndef YARP_OS_ROSNAMESPACE_H
7#define YARP_OS_ROSNAMESPACE_H
26 Contact getNameServerContact()
const override;
28 Contact queryName(
const std::string& name)
override;
29 Contact registerName(
const std::string& name)
override;
31 Contact unregisterName(
const std::string& name)
override;
35 virtual Contact unregisterAdvanced(
const std::string& name,
38 virtual bool setProperty(
const std::string& name,
39 const std::string& key,
40 const Value& value)
override;
42 virtual Value* getProperty(
const std::string& name,
43 const std::string& key)
override;
45 virtual bool connectPortToTopic(
const Contact& src,
48 virtual bool connectTopicToPort(
const Contact& src,
51 virtual bool disconnectPortFromTopic(
const Contact& src,
54 virtual bool disconnectTopicFromPort(
const Contact& src,
57 virtual bool connectPortToPortPersistently(
const Contact& src,
60 virtual bool disconnectPortToPortPersistently(
const Contact& src,
63 virtual bool connectTopic(
Bottle& cmd,
70 bool localOnly()
const override;
71 bool usesCentralServer()
const override;
72 bool serverAllocatesPortNumbers()
const override;
73 bool connectionHasNameOfEndpoints()
const override;
78 virtual bool writeToNameServer(
PortWriter& cmd,
89 static std::string
toRosName(
const std::string& name);
90 static std::string
fromRosName(
const std::string& name);
91 static std::string toRosNodeName(
const std::string& name);
92 static std::string fromRosNodeName(
const std::string& name);
static std::string fromRosName(const std::string &str)
static std::string toRosName(const std::string &str)
A simple collection of objects that can be described and transmitted in a portable way.
A mini-server for performing network communication in the background.
An abstract name space for ports.
Abstract interface for a database of port names.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
An abstraction for a thread of execution.
A single value (typically within a Bottle).
An interface to the operating system, including Port based communication.