RTObject.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00019 #ifndef RTObject_CORBA_h
00020 #define RTObject_CORBA_h
00021 
00022 // CORBA header include
00023 #include "rtm/idl/RTCSkel.h"
00024 #include "rtm/idl/OpenRTMSkel.h"
00025 
00026 namespace RTC
00027 {
00028   namespace CORBA
00029   {
00030     class RTObject_CORBA
00031       : public virtual POA_RTC::RTObject, 
00032         public virtual PortableServer::RefCountServantBase
00033     {
00034     public:
00035       RTObject_CORBA(RTC::Interface::RTObjectInterface* rtobj);
00036       virtual ~RTObject_impl();
00037       
00038       virtual ReturnCode_t initialize()
00039         throw (CORBA::SystemException);
00040       
00041       virtual ReturnCode_t finalize()
00042         throw (CORBA::SystemException);
00043       
00044       virtual ReturnCode_t exit()
00045         throw (CORBA::SystemException); 
00046       
00047       virtual CORBA::Boolean is_alive(ExecutionContext_ptr exec_context)
00048         throw (CORBA::SystemException);
00049       
00050       virtual ExecutionContext_ptr get_context(UniqueId exec_handle)
00051         throw (CORBA::SystemException);
00052       
00053       virtual ExecutionContextList* get_owned_contexts()
00054         throw (CORBA::SystemException);
00055       
00056       virtual ExecutionContextList* get_participating_contexts()
00057         throw (CORBA::SystemException);
00058       
00059       virtual ExecutionContextHandle_t
00060       get_context_handle(ExecutionContext_ptr cxt)
00061         throw (CORBA::SystemException);
00062       
00063       UniqueId attach_context(ExecutionContext_ptr exec_context)
00064         throw (CORBA::SystemException);
00065       
00066       ReturnCode_t detach_context(UniqueId exec_handle)
00067         throw (CORBA::SystemException);
00068       
00069       virtual ComponentProfile* get_component_profile()
00070         throw (CORBA::SystemException);
00071       
00072       virtual PortServiceList* get_ports()
00073         throw (CORBA::SystemException);
00074       
00075       virtual ReturnCode_t on_initialize()
00076         throw (CORBA::SystemException);
00077       
00078       virtual ReturnCode_t on_finalize()
00079         throw (CORBA::SystemException);
00080       
00081       virtual ReturnCode_t on_startup(UniqueId exec_handle)
00082         throw (CORBA::SystemException);
00083       
00084       virtual ReturnCode_t on_shutdown(UniqueId exec_handle)
00085         throw (CORBA::SystemException);
00086       
00087       virtual ReturnCode_t on_activated(UniqueId exec_handle)
00088         throw (CORBA::SystemException);
00089       
00090       virtual ReturnCode_t on_deactivated(UniqueId exec_handle)
00091         throw (CORBA::SystemException);
00092       
00093       virtual ReturnCode_t on_aborting(UniqueId exec_handle)
00094         throw (CORBA::SystemException);
00095       
00096       virtual ReturnCode_t on_error(UniqueId exec_handle)
00097         throw (CORBA::SystemException);
00098       
00099       virtual ReturnCode_t on_reset(UniqueId exec_handle)
00100         throw (CORBA::SystemException);
00101       
00102       
00103       //============================================================
00104       // SDOPackage::SdoSystemElement
00105       //============================================================
00106       virtual SDOPackage::OrganizationList* get_owned_organizations()
00107         throw (CORBA::SystemException, SDOPackage::NotAvailable);
00108       
00109       //============================================================
00110       // SDOPackage::SDO
00111       //============================================================
00112       virtual char* get_sdo_id()
00113         throw (CORBA::SystemException,
00114                SDOPackage::NotAvailable, SDOPackage::InternalError);
00115       
00116       virtual char* get_sdo_type()
00117         throw (CORBA::SystemException, 
00118                SDOPackage::NotAvailable, SDOPackage::InternalError);
00119       
00120       virtual SDOPackage::DeviceProfile* get_device_profile()
00121         throw (CORBA::SystemException, 
00122                SDOPackage::NotAvailable, SDOPackage::InternalError);
00123       
00124       virtual SDOPackage::ServiceProfileList* get_service_profiles()
00125         throw (CORBA::SystemException, 
00126                SDOPackage::NotAvailable, SDOPackage::InternalError);
00127       
00128       virtual SDOPackage::ServiceProfile* get_service_profile(const char* id)
00129         throw (CORBA::SystemException, 
00130                SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
00131                SDOPackage::InternalError);
00132       
00133       virtual SDOPackage::SDOService_ptr get_sdo_service(const char* id)
00134         throw (CORBA::SystemException, 
00135                SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
00136                SDOPackage::InternalError);
00137       
00138       virtual SDOPackage::Configuration_ptr get_configuration()
00139         throw (CORBA::SystemException, 
00140                SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
00141                SDOPackage::InternalError);
00142       
00143       virtual SDOPackage::Monitoring_ptr get_monitoring()
00144         throw (CORBA::SystemException, 
00145                SDOPackage::InterfaceNotImplemented, SDOPackage::NotAvailable,
00146                SDOPackage::InternalError);
00147       
00148       virtual SDOPackage::OrganizationList* get_organizations()
00149         throw (CORBA::SystemException, 
00150                SDOPackage::NotAvailable, SDOPackage::InternalError);
00151       
00152       virtual SDOPackage::NVList* get_status_list()
00153         throw (CORBA::SystemException, 
00154                SDOPackage::NotAvailable, SDOPackage::InternalError);
00155       
00156       virtual CORBA::Any* get_status(const char* name)
00157         throw (CORBA::SystemException, 
00158                SDOPackage::InvalidParameter, SDOPackage::NotAvailable,
00159                SDOPackage::InternalError);
00160 
00161     protected:
00162       class RTObjectInterface;
00163       std::auto_ptr<RTObjectInterface> m_rtobj;
00164       
00165     };
00166   };
00167 };
00168 #endif // RTObject


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Thu Aug 27 2015 14:16:39