OpenRTM-aist  1.2.1
SdoServiceProviderBase.h
[詳解]
1 // -*- C++ -*-
20 #ifndef RTC_SDOSERVICEPROVIDERBASE_H
21 #define RTC_SDOSERVICEPROVIDERBASE_H
22 
23 #include <coil/Mutex.h>
24 #include <coil/Factory.h>
25 #include <coil/Timer.h>
26 #include <rtm/RTC.h>
27 #include <rtm/RTObject.h>
28 #include <rtm/idl/SDOPackageStub.h>
29 
30 namespace RTC
31 {
135  : public virtual POA_SDOPackage::SDOService,
136  public virtual PortableServer::RefCountServantBase
137  {
138  public:
147 
172  virtual bool init(RTObject_impl& rtobj,
173  const SDOPackage::ServiceProfile& profile) = 0;
195  virtual bool reinit(const SDOPackage::ServiceProfile& profile) = 0;
196 
212  virtual const SDOPackage::ServiceProfile& getProfile() const = 0;
213 
227  virtual void finalize() = 0;
228  };
229 
237  typedef ::coil::GlobalFactory<
239 
240 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
241 
248  EXTERN template class DLL_PLUGIN
249  ::coil::GlobalFactory< ::RTC::SdoServiceProviderBase >;
250 #endif
251 }; // namespace RTC
252 
253 #ifdef __GNUC__
255 #endif
256 
257 #endif // RTC_SDOSERVICEPROVIDERBASE_H
virtual bool init(RTObject_impl &rtobj, const SDOPackage::ServiceProfile &profile)=0
コンシューマクラスの初期化関数
RTコンポーネント
virtual ~SdoServiceProviderBase()
仮想デストラクタ
Definition: SdoServiceProviderBase.h:146
RTコンポーネントクラス
Definition: RTObject.h:89
Timer class.
Singleton テンプレートクラス
Definition: Singleton.h:106
SdoServiceProvider 基底クラス
Definition: SdoServiceProviderBase.h:134
virtual const SDOPackage::ServiceProfile & getProfile() const =0
ServiceProfile を返す
::coil::GlobalFactory< ::RTC::SdoServiceProviderBase > SdoServiceProviderFactory
SdoServiceProviderFactory の typedef.
Definition: SdoServiceProviderBase.h:238
#define EXTERN
Definition: Factory.h:42
RTComponent header.
virtual void finalize()=0
終了処理
virtual bool reinit(const SDOPackage::ServiceProfile &profile)=0
コンシューマクラスの再初期化関数
RT component base class.