NamingServer management class for CORBA. More...
#include <NamingManager.h>
Public Member Functions | |
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 bool | isAlive () |
Check if the name service is alive. More... | |
NamingOnCorba (CORBA::ORB_ptr orb, const char *names) | |
Constructor. More... | |
virtual void | unbindObject (const char *name) |
Unbind the specified CORBA objects from NamingService. More... | |
virtual | ~NamingOnCorba (void) |
Destructor. More... | |
Public Member Functions inherited from RTC::NamingBase | |
NamingBase () | |
Constructor. More... | |
virtual | ~NamingBase (void) |
Destructor. More... | |
Private Attributes | |
CorbaNaming | m_cosnaming |
std::string | m_endpoint |
std::map< std::string, RTObject_impl * > | m_names |
bool | m_replaceEndpoint |
Logger | rtclog |
NamingServer management class for CORBA.
NamingServer management class for CORBA. Manage to register and unregister CORBA components to NamingService.
Definition at line 196 of file NamingManager.h.
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 |
Definition at line 40 of file NamingManager.cpp.
|
inlinevirtual |
Destructor.
Definition at line 239 of file NamingManager.h.
|
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.
Definition at line 71 of file NamingManager.cpp.
|
virtual |
Bind the specified ManagerServants to NamingService.
name | Names at the binding |
mgr | The target ManagerServants for the binding |
Implements RTC::NamingBase.
Definition at line 102 of file NamingManager.cpp.
|
virtual |
Check if the name service is alive.
Implements RTC::NamingBase.
Definition at line 146 of file NamingManager.cpp.
|
virtual |
Unbind the specified CORBA objects from NamingService.
Unbind the specified CORBA object from NamingService.
Unbind the specified CORBA objects from CORBA NamingService.
name | The target objects for the unbinding |
Implements RTC::NamingBase.
Definition at line 140 of file NamingManager.cpp.
|
private |
Definition at line 324 of file NamingManager.h.
|
private |
Definition at line 325 of file NamingManager.h.
|
private |
Definition at line 327 of file NamingManager.h.
|
private |
Definition at line 326 of file NamingManager.h.
|
private |
Definition at line 323 of file NamingManager.h.