YARP  2.3.68+228-20170410.2+git7d0b2e0
Yet Another Robot Platform
yarp::os::YarpDummyNameSpace Class Reference

#include <yarp/os/YarpNameSpace.h>

+ Inheritance diagram for yarp::os::YarpDummyNameSpace:

Public Member Functions

 YarpDummyNameSpace ()
 
virtual bool localOnly () const
 Check if the NameSpace is only valid for the current process ("local"). More...
 
virtual Contact getNameServerContact () const
 Get an address for a name server that manages the name space, if available. More...
 
- Public Member Functions inherited from yarp::os::YarpNameSpace
 YarpNameSpace (const Contact &contact)
 
virtual ~YarpNameSpace ()
 
virtual Contact queryName (const ConstString &name)
 Map from port name to contact information. More...
 
virtual Contact registerName (const ConstString &name)
 Record contact information to tie to a port name. More...
 
virtual Contact registerContact (const Contact &contact)
 Record contact information (should include a port name). More...
 
virtual Contact unregisterName (const ConstString &name)
 Disassociate contact information from a port name. More...
 
virtual Contact unregisterContact (const Contact &contact)
 Disassociate contact information (should include a port name). More...
 
virtual bool setProperty (const ConstString &name, const ConstString &key, const Value &value)
 Associate a key/value pair with a named port. More...
 
virtual ValuegetProperty (const ConstString &name, const ConstString &key)
 Get the value of a named key from a named port. More...
 
virtual bool connectPortToTopic (const Contact &src, const Contact &dest, ContactStyle style)
 Publish a port to a topic. More...
 
virtual bool connectTopicToPort (const Contact &src, const Contact &dest, ContactStyle style)
 Subscribe a port to a topic. More...
 
virtual bool disconnectPortFromTopic (const Contact &src, const Contact &dest, ContactStyle style)
 Stop publishing a port to a topic. More...
 
virtual bool disconnectTopicFromPort (const Contact &src, const Contact &dest, ContactStyle style)
 Stop subscribing a port to a topic. More...
 
virtual bool connectPortToPortPersistently (const Contact &src, const Contact &dest, ContactStyle style)
 Connect two ports with persistence. More...
 
virtual bool disconnectPortToPortPersistently (const Contact &src, const Contact &dest, ContactStyle style)
 Disconnect two ports, removing any persistence. More...
 
virtual bool connectTopic (const ConstString &dir, bool srcIsTopic, bool destIsTopic, const Contact &src, const Contact &dest, ContactStyle style)
 
virtual bool usesCentralServer () const
 Check if a central server is involved in managing the NameSpace. More...
 
virtual bool serverAllocatesPortNumbers () const
 Check if a central server is responsible for allocating port numbers, or if this should be left up to the operating system. More...
 
virtual bool connectionHasNameOfEndpoints () const
 When connections are made involving ports managed by this NameSpace do the ports involved end up knowing the names of their counterparties? More...
 
virtual Contact detectNameServer (bool useDetectedServer, bool &scanNeeded, bool &serverUsed)
 Find a name server for this NameSpace, if applicable. More...
 
virtual bool writeToNameServer (PortWriter &cmd, PortReader &reply, const ContactStyle &style)
 Write a message to a name server for this NameSpace, if applicable. More...
 
- Public Member Functions inherited from yarp::os::NameSpace
virtual ~NameSpace ()
 Destructor. More...
 
virtual bool checkNetwork ()
 Check if name space is available. More...
 
virtual bool checkNetwork (double timeout)
 Check if name space is available, with a timeout on any network operations needed. More...
 
virtual ConstString getNameServerName () const
 Get the port name of a name server that manages the name space, if available. More...
 
virtual Contact registerAdvanced (const Contact &contact, NameStore *store)
 Record contact information, with access to the contact information of other ports for cross-referencing. More...
 
virtual Contact unregisterAdvanced (const ConstString &name, NameStore *store)
 Remove contact information, with access to the contact information of other ports for cross-referencing. More...
 

Detailed Description

Definition at line 162 of file YarpNameSpace.h.

Constructor & Destructor Documentation

◆ YarpDummyNameSpace()

yarp::os::YarpDummyNameSpace::YarpDummyNameSpace ( )
inline

Definition at line 164 of file YarpNameSpace.h.

Member Function Documentation

◆ getNameServerContact()

virtual Contact yarp::os::YarpDummyNameSpace::getNameServerContact ( ) const
inlinevirtual

Get an address for a name server that manages the name space, if available.

Reimplemented from yarp::os::YarpNameSpace.

Definition at line 170 of file YarpNameSpace.h.

◆ localOnly()

virtual bool yarp::os::YarpDummyNameSpace::localOnly ( ) const
inlinevirtual

Check if the NameSpace is only valid for the current process ("local").

Reimplemented from yarp::os::YarpNameSpace.

Definition at line 166 of file YarpNameSpace.h.


The documentation for this class was generated from the following file: