NamingServer management class for CORBA.
More...
#include <NamingManager.h>
NamingServer management class for CORBA.
NamingServer management class for CORBA. Manage to register and unregister CORBA components to NamingService.
- Since
- 0.4.0
◆ NamingOnCorba()
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
-
orb | ORB |
names | Name of NamingServer |
◆ ~NamingOnCorba()
RTC::NamingOnCorba::~NamingOnCorba |
( |
| ) |
|
|
overridedefault |
◆ bindObject() [1/3]
void RTC::NamingOnCorba::bindObject |
( |
const char * | name, |
|
|
const PortBase * | port ) |
|
overridevirtual |
Pure virtual function to bind the specified objects to the NamingService.
- Parameters
-
name | The name to be bound to the NamingService |
rtobj | The target objects to be bound to the NamingSerivce |
Implements RTC::NamingBase.
◆ bindObject() [2/3]
Bind the specified ManagerServants to NamingService.
- Parameters
-
name | Names at the binding |
mgr | The target ManagerServants for the binding |
Implements RTC::NamingBase.
◆ bindObject() [3/3]
void RTC::NamingOnCorba::bindObject |
( |
const char * | name, |
|
|
const RTObject_impl * | rtobj ) |
|
overridevirtual |
Bind the specified CORBA objects to NamingService.
Bind the specified CORBA objects to CORBA NamingService by specified names.
- Parameters
-
name | Names at the binding |
rtobj | The target objects for the binding |
Implements RTC::NamingBase.
◆ getComponentByName()
void RTC::NamingOnCorba::getComponentByName |
( |
CosNaming::NamingContext_ptr | context, |
|
|
const std::string & | name, |
|
|
RTC::RTCList & | rtcs ) |
◆ getCorbaNaming()
◆ isAlive()
bool RTC::NamingOnCorba::isAlive |
( |
| ) |
|
|
overridevirtual |
Check if the name service is alive.
- Returns
- true: alive, false:non not alive
Implements RTC::NamingBase.
◆ string_to_component()
RTC::RTCList RTC::NamingOnCorba::string_to_component |
( |
std::string | name | ) |
|
|
overridevirtual |
◆ unbindObject()
void RTC::NamingOnCorba::unbindObject |
( |
const char * | name | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: