OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::NamingBase Class Referenceabstract

NamingService management abstract class. More...

#include <NamingManager.h>

Inheritance diagram for RTC::NamingBase:

Public Member Functions

 NamingBase ()=default
 Constructor.
 
virtual ~NamingBase ()=default
 Destructor.
 
virtual void bindObject (const char *name, const PortBase *port)=0
 Pure virtual function to bind the specified objects to the NamingService.
 
virtual void bindObject (const char *name, const RTObject_impl *rtobj)=0
 
virtual void bindObject (const char *name, const RTM::ManagerServant *mgr)=0
 Pure virtual function to bind the specified ManagerServants to NamingService.
 
virtual void unbindObject (const char *name)=0
 Pure virtual function to unbind the specified objects from NamingService.
 
virtual bool isAlive ()=0
 Check if the name service is alive.
 
virtual RTC::RTCList string_to_component (std::string name)=0
 

Detailed Description

NamingService management abstract class.

This is the abstract interface class for NamingServer management. Concrete management classes must implement the following pure virtual functions.

Since
0.4.0

Constructor & Destructor Documentation

◆ NamingBase()

RTC::NamingBase::NamingBase ( )
default

Constructor.

◆ ~NamingBase()

virtual RTC::NamingBase::~NamingBase ( )
virtualdefault

Destructor.

Member Function Documentation

◆ bindObject() [1/3]

virtual void RTC::NamingBase::bindObject ( const char * name,
const PortBase * port )
pure virtual

Pure virtual function to bind the specified objects to the NamingService.

Parameters
nameThe name to be bound to the NamingService
rtobjThe target objects to be bound to the NamingSerivce

Implemented in RTC::NamingOnCorba, and RTC::NamingOnManager.

◆ bindObject() [2/3]

virtual void RTC::NamingBase::bindObject ( const char * name,
const RTM::ManagerServant * mgr )
pure virtual

Pure virtual function to bind the specified ManagerServants to NamingService.

Parameters
nameThe name to be bound to the NamingService
rtobjThe target objects to be bound to the NamingSerivce

Implemented in RTC::NamingOnCorba, and RTC::NamingOnManager.

◆ bindObject() [3/3]

virtual void RTC::NamingBase::bindObject ( const char * name,
const RTObject_impl * rtobj )
pure virtual

◆ isAlive()

virtual bool RTC::NamingBase::isAlive ( )
pure virtual

Check if the name service is alive.

Returns
true: alive, false:non not alive

Implemented in RTC::NamingOnCorba, and RTC::NamingOnManager.

◆ string_to_component()

virtual RTC::RTCList RTC::NamingBase::string_to_component ( std::string name)
pure virtual
Parameters
name
Returns

Implemented in RTC::NamingOnCorba, and RTC::NamingOnManager.

◆ unbindObject()

virtual void RTC::NamingBase::unbindObject ( const char * name)
pure virtual

Pure virtual function to unbind the specified objects from NamingService.

Parameters
nameThe name of the object released from NamingService

Implemented in RTC::NamingOnCorba, and RTC::NamingOnManager.


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