Public Member Functions | List of all members
doil::IORB Class Referenceabstract

#include <IORB.h>

Inheritance diagram for doil::IORB:
Inheritance graph
[legend]

Public Member Functions

virtual ReturnCode_t activateObject (ImplBase *impl)=0 throw ()
 Activate object. More...
 
virtual ReturnCode_t activateObject (ImplBase *impl, ServantBase *servant)=0 throw ()
 Activate object. More...
 
virtual ReturnCode_t deactivateObject (ImplBase *impl)=0 throw ()
 Deactivate object. More...
 
virtual ReturnCode_t deactivateObject (const char *name)=0 throw ()
 Deactivate object. More...
 
virtual doil::ImplBasegetImpl (const char *name)=0 throw ()
 Getting object by name. More...
 
virtual doil::ServantBasegetServant (const char *name)=0 throw ()
 Getting servant object by name. More...
 
virtual const char * name ()=0 throw ()
 Getting ORB's name. More...
 
virtual ReturnCode_t registerFactory (const char *id, ServantNewFunc new_func, ServantDeleteFunc delete_func)=0 throw ()
 Register servant's factory. More...
 
virtual void shutdown ()=0 throw ()
 Shutdown ORB. More...
 
virtual doil::ImplBasetoImpl (doil::ServantBase *servant)=0 throw ()
 Getting impl object by servant. More...
 
virtual doil::ServantBasetoServant (doil::ImplBase *impl)=0 throw ()
 Getting servant object by impl object. More...
 
virtual ~IORB () throw ()
 Register an ORB to the ORBManager. More...
 

Detailed Description

Definition at line 44 of file IORB.h.

Constructor & Destructor Documentation

◆ ~IORB()

virtual doil::IORB::~IORB ( )
throw (
)
inlinevirtual

Register an ORB to the ORBManager.

This operation will register an ORB that inherits IORB interface to the ORBManager.

Definition at line 61 of file IORB.h.

Member Function Documentation

◆ activateObject() [1/2]

virtual ReturnCode_t doil::IORB::activateObject ( ImplBase impl)
throw (
)
pure virtual

Activate object.

This operation will activate given object The servant that has same ID with the given object's ID should exist in this ORB servant's map. INVALID_ARGS error code will return if the factory does not exist.

Returns
OK: Normal return ALREADY_EXISTS: Given object already exists. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ activateObject() [2/2]

virtual ReturnCode_t doil::IORB::activateObject ( ImplBase impl,
ServantBase servant 
)
throw (
)
pure virtual

Activate object.

This operation will activate given object The servant's factory that activate the given object does not need to exists in this ORB manager. However, the given servant's ID and the given object's ID have to be same. INVALID_ARGS error will be returned if these IDs are not same.

Returns
OK: Normal return ALREADY_EXISTS: Given object already exists. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ deactivateObject() [1/2]

virtual ReturnCode_t doil::IORB::deactivateObject ( ImplBase impl)
throw (
)
pure virtual

Deactivate object.

This operation will deactivate the given object. NOT_FOUND error will be returned if the given object does not exist in the ative object map.

Returns
OK: Normal return NOT_FOUND: Given object does not exist in the map. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ deactivateObject() [2/2]

virtual ReturnCode_t doil::IORB::deactivateObject ( const char *  name)
throw (
)
pure virtual

Deactivate object.

This operation will deactivate the given name's object. NOT_FOUND error will be returned if the given object does not exist in the ative object map.

Returns
OK: Normal return NOT_FOUND: Given object does not exist in the map. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ getImpl()

virtual doil::ImplBase* doil::IORB::getImpl ( const char *  name)
throw (
)
pure virtual

Getting object by name.

This operation will return a object by given name. NOT_FOUND error will be returned if the given name's object does not exist in the ative object map.

Returns
OK: Normal return NOT_FOUND: The object does not exist in the map. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ getServant()

virtual doil::ServantBase* doil::IORB::getServant ( const char *  name)
throw (
)
pure virtual

Getting servant object by name.

This operation will return an servant object by given name. NOT_FOUND error will be returned if the given name's servant object does not exist in the ative object map.

Returns
OK: Normal return NOT_FOUND: The object does not exist in the map. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ name()

virtual const char* doil::IORB::name ( )
throw (
)
pure virtual

Getting ORB's name.

This operation will return ORB's name.

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ registerFactory()

virtual ReturnCode_t doil::IORB::registerFactory ( const char *  id,
ServantNewFunc  new_func,
ServantDeleteFunc  delete_func 
)
throw (
)
pure virtual

Register servant's factory.

This operation will register servant's factory.

Returns
OK: Normal return ALREADY_EXISTS: Given factory already exists. INVALID_ARGS: One or more given arguments are invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ shutdown()

virtual void doil::IORB::shutdown ( )
throw (
)
pure virtual

Shutdown ORB.

This operation will shutdown ORB

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ toImpl()

virtual doil::ImplBase* doil::IORB::toImpl ( doil::ServantBase servant)
throw (
)
pure virtual

Getting impl object by servant.

This operation will return an impl object by given servant. NOT_FOUND error will be returned if the given servant's impl object does not exist in the ative object map.

Returns
OK: Normal return NOT_FOUND: The object does not exist in the map. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.

◆ toServant()

virtual doil::ServantBase* doil::IORB::toServant ( doil::ImplBase impl)
throw (
)
pure virtual

Getting servant object by impl object.

This operation will return an servant object by given impl object. NOT_FOUND error will be returned if the given name's servant object does not exist in the ative object map.

Returns
OK: Normal return NOT_FOUND: The object does not exist in the map. INVALID_ARGS: The given arguments is invalid. UNKNOWN: Unknown error

Implemented in doil::CORBA::CORBAManager, and doil::Ice::IceManager.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:46