IORB.h
Go to the documentation of this file.
1 // -*- C++ -*-
19 #ifndef DOIL_IORB_H
20 #define DOIL_IORB_H
21 
22 #include <coil/Properties.h>
23 #include <doil/doil.h>
24 #include <doil/ServantFactory.h>
25 #include <doil/ImplBase.h>
26 
27 namespace doil
28 {
29 
44  class IORB
45  {
46  public:
61  virtual ~IORB() throw() {};
62 
76  virtual const char* name() throw() = 0;
77 
91  virtual void shutdown() throw() = 0;
92 
116  virtual ReturnCode_t registerFactory(const char* id,
117  ServantNewFunc new_func,
118  ServantDeleteFunc delete_func)
119  throw() = 0;
120 
150  virtual ReturnCode_t activateObject(ImplBase* impl)
151  throw() = 0;
152 
183  virtual ReturnCode_t activateObject(ImplBase* impl,
184  ServantBase* servant)
185  throw() = 0;
186 
213  virtual ReturnCode_t deactivateObject(ImplBase* impl)
214  throw() = 0;
215 
242  virtual ReturnCode_t deactivateObject(const char* name)
243  throw() = 0;
244 
271  virtual doil::ImplBase* getImpl(const char* name)
272  throw() = 0;
273 
300  virtual doil::ImplBase* toImpl(doil::ServantBase* servant)
301  throw() = 0;
302 
329  virtual doil::ServantBase* getServant(const char* name)
330  throw() = 0;
331 
359  throw() = 0;
360 
361  };
362 }; // namespace doil
363 #endif // DOIL_IORB_H
virtual doil::ImplBase * getImpl(const char *name)=0
Getting object by name.
ServantBase *(* ServantNewFunc)()
ReturnCode_t
Definition: doil.h:53
virtual doil::ImplBase * toImpl(doil::ServantBase *servant)=0
Getting impl object by servant.
doil implementation base class
virtual ReturnCode_t deactivateObject(ImplBase *impl)=0
Deactivate object.
virtual void shutdown()=0
Shutdown ORB.
virtual ~IORB()
Register an ORB to the ORBManager.
Definition: IORB.h:61
virtual const char * name()=0
Getting ORB&#39;s name.
void(* ServantDeleteFunc)(ServantBase *)
virtual ReturnCode_t registerFactory(const char *id, ServantNewFunc new_func, ServantDeleteFunc delete_func)=0
Register servant&#39;s factory.
virtual ReturnCode_t activateObject(ImplBase *impl)=0
Activate object.
virtual doil::ServantBase * toServant(doil::ImplBase *impl)=0
Getting servant object by impl object.
virtual doil::ServantBase * getServant(const char *name)=0
Getting servant object by name.
doil


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Jun 10 2019 14:07:52