OpenRTM  1.0.0
Public Member Functions | List of all members
RTC::NamingOnCorba Class Reference

NamingServer management class for CORBA. More...

#include <NamingManager.h>

Inheritance diagram for RTC::NamingOnCorba:
RTC::NamingBase

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 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...
 
- Public Member Functions inherited from RTC::NamingBase
 NamingBase ()
 Constructor. More...
 
virtual ~NamingBase (void)
 Destructor. More...
 

Detailed Description

NamingServer management class for CORBA.

NamingServer management class for CORBA. Manage to register and unregister CORBA components to NamingService.

Since
0.4.0

Constructor & Destructor Documentation

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.

Parameters
orbORB
namesName of NamingServer
virtual RTC::NamingOnCorba::~NamingOnCorba ( void  )
inlinevirtual

Destructor.

Member Function Documentation

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

Bind the specified CORBA objects to NamingService.

Bind the specified CORBA objects to CORBA NamingService by specified names.

Parameters
nameNames at the binding
rtobjThe target objects for the binding

Implements RTC::NamingBase.

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

Bind the specified ManagerServants to NamingService.

Parameters
nameNames at the binding
mgrThe target ManagerServants for the binding

Implements RTC::NamingBase.

virtual bool RTC::NamingOnCorba::isAlive ( )
virtual

Check if the name service is alive.

Returns
true: alive, false:non not alive

Implements RTC::NamingBase.

virtual void RTC::NamingOnCorba::unbindObject ( const char *  name)
virtual

Unbind the specified CORBA objects from NamingService.

Unbind the specified CORBA objects from CORBA NamingService.

Parameters
nameThe target objects for the unbinding

Implements RTC::NamingBase.