OpenRTM-aist  2.1.0
SdoServiceProviderBase.h
Go to the documentation of this file.
1 // -*- C++ -*-
20 #ifndef RTC_SDOSERVICEPROVIDERBASE_H
21 #define RTC_SDOSERVICEPROVIDERBASE_H
22 
23 #include <coil/Factory.h>
24 #include <coil/Timer.h>
25 #include <rtm/RTC.h>
26 #include <rtm/RTObject.h>
27 #include <rtm/idl/SDOPackageStub.h>
28 
29 namespace RTC
30 {
134  : public virtual POA_SDOPackage::SDOService,
135  public virtual PortableServer::RefCountServantBase
136  {
137  public:
146 
186  virtual bool init(RTObject_impl& rtobj,
187  const SDOPackage::ServiceProfile& profile) = 0;
209  virtual bool reinit(const SDOPackage::ServiceProfile& profile) = 0;
210 
226  virtual const SDOPackage::ServiceProfile& getProfile() const = 0;
227 
241  virtual void finalize() = 0;
242  };
243 
244  // No inline for gcc warning, too big
246 
254  using SdoServiceProviderFactory = ::coil::GlobalFactory< ::RTC::SdoServiceProviderBase>;
255 } // namespace RTC
256 
257 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
265 EXTERN template class DLL_PLUGIN coil::GlobalFactory<RTC::SdoServiceProviderBase >;
266 #elif defined(__GNUC__)
267 EXTERN template class coil::GlobalFactory<RTC::SdoServiceProviderBase>;
268 #endif
269 
270 #endif // RTC_SDOSERVICEPROVIDERBASE_H
RTComponent header.
RT component base class.
RT-Component class.
Definition: RTObject.h:93
Definition: SdoServiceProviderBase.h:136
virtual bool reinit(const SDOPackage::ServiceProfile &profile)=0
Reinitialization function of the consumer class.
virtual bool init(RTObject_impl &rtobj, const SDOPackage::ServiceProfile &profile)=0
Initialization function of the consumer class.
virtual const SDOPackage::ServiceProfile & getProfile() const =0
Getting ServiceProfile.
~SdoServiceProviderBase() override
virtual destructor
virtual void finalize()=0
Finalization.
RT-Component.
::coil::GlobalFactory< ::RTC::SdoServiceProviderBase > SdoServiceProviderFactory
typedef of sdoServiceProviderFactory
Definition: SdoServiceProviderBase.h:254