OpenRTM-aist
1.2.1
|
NamingServer management class for CORBA. More...
#include <NamingManager.h>
Public Member Functions | |
NamingOnCorba (CORBA::ORB_ptr orb, const char *names) | |
Constructor. More... | |
virtual | ~NamingOnCorba (void) |
Destructor. More... | |
virtual void | bindObject (const char *name, const RTObject_impl *rtobj) |
Bind the specified CORBA objects to NamingService. More... | |
virtual void | bindObject (const char *name, const PortBase *port) |
Pure virtual function to bind the specified objects to the NamingService. More... | |
virtual void | bindObject (const char *name, const RTM::ManagerServant *mgr) |
Bind the specified ManagerServants to NamingService. More... | |
virtual void | unbindObject (const char *name) |
Unbind the specified CORBA objects from NamingService. More... | |
virtual bool | isAlive () |
Check if the name service is alive. More... | |
void | getComponentByName (CosNaming::NamingContext_ptr context, std::string name, RTC::RTCList &rtcs) |
virtual RTC::RTCList | string_to_component (std::string name) |
CorbaNaming & | getCorbaNaming () |
Public Member Functions inherited from RTC::NamingBase | |
NamingBase () | |
Constructor. More... | |
virtual | ~NamingBase (void) |
Destructor. More... | |
NamingServer management class for CORBA.
NamingServer management class for CORBA. Manage to register and unregister CORBA components to NamingService.
RTC::NamingOnCorba::NamingOnCorba | ( | CORBA::ORB_ptr | orb, |
const char * | names | ||
) |
Constructor.
Constructor. Naming service name that is given at the second argument is host name and port number hoined with ":". If the port number is abbreviated, the default port number 2809 is used.
orb | ORB |
names | Name of NamingServer |
|
inlinevirtual |
Destructor.
References RTC::NamingBase::bindObject(), RTC::NamingBase::isAlive(), RTC::NamingBase::string_to_component(), and RTC::NamingBase::unbindObject().
|
virtual |
Bind the specified CORBA objects to NamingService.
Bind the specified CORBA objects to CORBA NamingService by specified names.
name | Names at the binding |
rtobj | The target objects for the binding |
Implements RTC::NamingBase.
|
virtual |
Pure virtual function to bind the specified objects to the NamingService.
name | The name to be bound to the NamingService |
rtobj | The target objects to be bound to the NamingSerivce |
Implements RTC::NamingBase.
|
virtual |
Bind the specified ManagerServants to NamingService.
name | Names at the binding |
mgr | The target ManagerServants for the binding |
Implements RTC::NamingBase.
void RTC::NamingOnCorba::getComponentByName | ( | CosNaming::NamingContext_ptr | context, |
std::string | name, | ||
RTC::RTCList & | rtcs | ||
) |
context | |
name | |
rtcs |
|
inline |
|
virtual |
Check if the name service is alive.
Implements RTC::NamingBase.
|
virtual |
|
virtual |
Unbind the specified CORBA objects from NamingService.
Unbind the specified CORBA objects from CORBA NamingService.
name | The target objects for the unbinding |
Implements RTC::NamingBase.