OpenRTM-aist  2.1.0
SdoServiceConsumerBase.h
[詳解]
1 // -*- C++ -*-
20 #ifndef RTC_SDOSERVICECONSUMERBASE_H
21 #define RTC_SDOSERVICECONSUMERBASE_H
22 
23 #include <coil/Factory.h>
24 #include <coil/Timer.h>
25 #include <rtm/RTObject.h>
26 #include <rtm/idl/SDOPackageStub.h>
27 
28 namespace RTC
29 {
137  {
138  public:
146  virtual ~SdoServiceConsumerBase() = default;
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  using SdoServiceConsumerFactory = ::coil::GlobalFactory< ::RTC::SdoServiceConsumerBase>;
238 } // namespace RTC
239 
240 
241 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
249 EXTERN template class DLL_PLUGIN coil::GlobalFactory<RTC::SdoServiceConsumerBase >;
250 #elif defined(__GNUC__)
251 EXTERN template class coil::GlobalFactory<RTC::SdoServiceConsumerBase>;
252 #endif
253 
254 #endif // RTC_SDOSERVICECONSUMERBASE_H
RT component base class
RTコンポーネントクラス
Definition: RTObject.h:93
SdoServiceConsumer 基底クラス
Definition: SdoServiceConsumerBase.h:137
virtual void finalize()=0
終了処理
virtual bool reinit(const SDOPackage::ServiceProfile &profile)=0
コンシューマクラスの再初期化関数
virtual ~SdoServiceConsumerBase()=default
仮想デストラクタ
virtual bool init(RTObject_impl &rtobj, const SDOPackage::ServiceProfile &profile)=0
コンシューマクラスの初期化関数
virtual const SDOPackage::ServiceProfile & getProfile() const =0
ServiceProfile を返す
RTコンポーネント
::coil::GlobalFactory< ::RTC::SdoServiceConsumerBase > SdoServiceConsumerFactory
SdoServiceConsumerFactory の typedef
Definition: SdoServiceConsumerBase.h:237