Public Member Functions
doil::IORB Class Reference

#include <IORB.h>

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

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 44 of file IORB.h.


Constructor & Destructor Documentation

virtual doil::IORB::~IORB ( ) throw () [inline, virtual]

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

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.

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.

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.

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.

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.

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.

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.

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.

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

Shutdown ORB.

This operation will shutdown ORB

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

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.

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 Thu Aug 27 2015 14:16:40