Public Member Functions | Private Attributes
RTC::NamingOnCorba Class Reference

NamingServer management class for CORBA. More...

#include <NamingManager.h>

Inheritance diagram for RTC::NamingOnCorba:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void bindObject (const char *name, const RTObject_impl *rtobj)
 Bind the specified CORBA objects to NamingService.
virtual void bindObject (const char *name, const RTM::ManagerServant *mgr)
 Bind the specified ManagerServants to NamingService.
virtual bool isAlive ()
 Check if the name service is alive.
 NamingOnCorba (CORBA::ORB_ptr orb, const char *names)
 Constructor.
virtual void unbindObject (const char *name)
 Unbind the specified CORBA objects from NamingService.
virtual ~NamingOnCorba (void)
 Destructor.

Private Attributes

CorbaNaming m_cosnaming
std::string m_endpoint
std::map< std::string,
RTObject_impl * > 
m_names
bool m_replaceEndpoint
Logger rtclog

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

Definition at line 196 of file NamingManager.h.


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

Definition at line 40 of file NamingManager.cpp.

virtual RTC::NamingOnCorba::~NamingOnCorba ( void  ) [inline, virtual]

Destructor.

Definition at line 239 of file NamingManager.h.


Member Function Documentation

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.

Definition at line 71 of file NamingManager.cpp.

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.

Definition at line 102 of file NamingManager.cpp.

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

Check if the name service is alive.

Returns:
true: alive, false:non not alive

Implements RTC::NamingBase.

Definition at line 146 of file NamingManager.cpp.

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

Unbind the specified CORBA objects from NamingService.

Unbind the specified CORBA object from NamingService.

Unbind the specified CORBA objects from CORBA NamingService.

Parameters:
nameThe target objects for the unbinding

Implements RTC::NamingBase.

Definition at line 140 of file NamingManager.cpp.


Member Data Documentation

Definition at line 324 of file NamingManager.h.

std::string RTC::NamingOnCorba::m_endpoint [private]

Definition at line 325 of file NamingManager.h.

std::map<std::string, RTObject_impl*> RTC::NamingOnCorba::m_names [private]

Definition at line 327 of file NamingManager.h.

Definition at line 326 of file NamingManager.h.

Definition at line 323 of file NamingManager.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:20