corba/RTObject.h
Go to the documentation of this file.
1 // -*- C++ -*-
19 #ifndef RTObject_CORBA_h
20 #define RTObject_CORBA_h
21 
22 // CORBA header include
23 #include "rtm/idl/RTCSkel.h"
24 #include "rtm/idl/OpenRTMSkel.h"
25 
26 namespace RTC
27 {
28  namespace CORBA
29  {
31  : public virtual POA_RTC::RTObject,
32  public virtual PortableServer::RefCountServantBase
33  {
34  public:
35  RTObject_CORBA(RTC::Interface::RTObjectInterface* rtobj);
36  virtual ~RTObject_impl();
37 
38  virtual ReturnCode_t initialize()
39  throw (CORBA::SystemException);
40 
41  virtual ReturnCode_t finalize()
42  throw (CORBA::SystemException);
43 
44  virtual ReturnCode_t exit()
45  throw (CORBA::SystemException);
46 
47  virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
48  throw (CORBA::SystemException);
49 
50  virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
51  throw (CORBA::SystemException);
52 
54  throw (CORBA::SystemException);
55 
57  throw (CORBA::SystemException);
58 
60  get_context_handle(ExecutionContext_ptr cxt)
61  throw (CORBA::SystemException);
62 
63  UniqueId attach_context(ExecutionContext_ptr exec_context)
64  throw (CORBA::SystemException);
65 
67  throw (CORBA::SystemException);
68 
69  virtual ComponentProfile* get_component_profile()
70  throw (CORBA::SystemException);
71 
72  virtual PortServiceList* get_ports()
73  throw (CORBA::SystemException);
74 
75  virtual ReturnCode_t on_initialize()
76  throw (CORBA::SystemException);
77 
78  virtual ReturnCode_t on_finalize()
79  throw (CORBA::SystemException);
80 
81  virtual ReturnCode_t on_startup(UniqueId exec_handle)
82  throw (CORBA::SystemException);
83 
84  virtual ReturnCode_t on_shutdown(UniqueId exec_handle)
85  throw (CORBA::SystemException);
86 
87  virtual ReturnCode_t on_activated(UniqueId exec_handle)
88  throw (CORBA::SystemException);
89 
90  virtual ReturnCode_t on_deactivated(UniqueId exec_handle)
91  throw (CORBA::SystemException);
92 
93  virtual ReturnCode_t on_aborting(UniqueId exec_handle)
94  throw (CORBA::SystemException);
95 
96  virtual ReturnCode_t on_error(UniqueId exec_handle)
97  throw (CORBA::SystemException);
98 
99  virtual ReturnCode_t on_reset(UniqueId exec_handle)
100  throw (CORBA::SystemException);
101 
102 
103  //============================================================
104  // SDOPackage::SdoSystemElement
105  //============================================================
106  virtual SDOPackage::OrganizationList* get_owned_organizations()
107  throw (CORBA::SystemException, SDOPackage::NotAvailable);
108 
109  //============================================================
110  // SDOPackage::SDO
111  //============================================================
112  virtual char* get_sdo_id()
113  throw (CORBA::SystemException,
114  SDOPackage::NotAvailable, SDOPackage::InternalError);
115 
116  virtual char* get_sdo_type()
117  throw (CORBA::SystemException,
118  SDOPackage::NotAvailable, SDOPackage::InternalError);
119 
120  virtual SDOPackage::DeviceProfile* get_device_profile()
121  throw (CORBA::SystemException,
122  SDOPackage::NotAvailable, SDOPackage::InternalError);
123 
124  virtual SDOPackage::ServiceProfileList* get_service_profiles()
125  throw (CORBA::SystemException,
126  SDOPackage::NotAvailable, SDOPackage::InternalError);
127 
128  virtual SDOPackage::ServiceProfile* get_service_profile(const char* id)
129  throw (CORBA::SystemException,
130  SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
131  SDOPackage::InternalError);
132 
133  virtual SDOPackage::SDOService_ptr get_sdo_service(const char* id)
134  throw (CORBA::SystemException,
135  SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
136  SDOPackage::InternalError);
137 
138  virtual SDOPackage::Configuration_ptr get_configuration()
139  throw (CORBA::SystemException,
140  SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
141  SDOPackage::InternalError);
142 
143  virtual SDOPackage::Monitoring_ptr get_monitoring()
144  throw (CORBA::SystemException,
145  SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
146  SDOPackage::InternalError);
147 
148  virtual SDOPackage::OrganizationList* get_organizations()
149  throw (CORBA::SystemException,
150  SDOPackage::NotAvailable, SDOPackage::InternalError);
151 
153  throw (CORBA::SystemException,
154  SDOPackage::NotAvailable, SDOPackage::InternalError);
155 
156  virtual CORBA::Any* get_status(const char* name)
157  throw (CORBA::SystemException,
158  SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
159  SDOPackage::InternalError);
160 
161  protected:
162  class RTObjectInterface;
163  std::auto_ptr<RTObjectInterface> m_rtobj;
164 
165  };
166  };
167 };
168 #endif // RTObject
virtual char * get_sdo_type()
EXECUTION_HANDLE_TYPE_NATIVE ExecutionContextHandle_t
Definition: IRTC.h:63
RT-Component.
virtual SDOPackage::OrganizationList * get_organizations()
std::vector< std::pair< std::string, std::string > > NVList
Definition: IRTC.h:67
virtual ExecutionContextHandle_t get_context_handle(ExecutionContext_ptr cxt)
virtual ReturnCode_t on_finalize()
virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
virtual ReturnCode_t on_startup(UniqueId exec_handle)
virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
virtual ReturnCode_t exit()
virtual ExecutionContextList * get_participating_contexts()
virtual SDOPackage::SDOService_ptr get_sdo_service(const char *id)
virtual ReturnCode_t on_deactivated(UniqueId exec_handle)
virtual SDOPackage::Configuration_ptr get_configuration()
virtual ReturnCode_t on_error(UniqueId exec_handle)
virtual char * get_sdo_id()
std::vector< ExecutionContext * > ExecutionContextList
Definition: IRTC.h:69
virtual SDOPackage::OrganizationList * get_owned_organizations()
virtual ReturnCode_t on_initialize()
ExecutionContextHandle_t UniqueId
virtual ReturnCode_t on_reset(UniqueId exec_handle)
ReturnCode_t
Definition: IRTC.h:30
virtual ComponentProfile * get_component_profile()
virtual ReturnCode_t on_activated(UniqueId exec_handle)
std::vector< IPortService * > PortServiceList
Definition: IPortService.h:39
std::auto_ptr< RTObjectInterface > m_rtobj
virtual SDOPackage::DeviceProfile * get_device_profile()
virtual PortServiceList * get_ports()
virtual ExecutionContextList * get_owned_contexts()
virtual ReturnCode_t on_aborting(UniqueId exec_handle)
virtual ReturnCode_t finalize()
virtual ReturnCode_t on_shutdown(UniqueId exec_handle)
virtual ReturnCode_t initialize()
virtual SDOPackage::NVList * get_status_list()
UniqueId attach_context(ExecutionContext_ptr exec_context)
virtual CORBA::Any * get_status(const char *name)
RTObject_CORBA(RTC::Interface::RTObjectInterface *rtobj)
virtual SDOPackage::Monitoring_ptr get_monitoring()
ReturnCode_t detach_context(UniqueId exec_handle)
virtual SDOPackage::ServiceProfileList * get_service_profiles()
virtual SDOPackage::ServiceProfile * get_service_profile(const char *id)


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