OpenRTM-aist  1.2.2
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/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
RTC::SdoServiceProviderBase::~SdoServiceProviderBase
virtual ~SdoServiceProviderBase()
virtual destructor
Definition: SdoServiceProviderBase.h:146
RTC::SdoServiceProviderBase::init
virtual bool init(RTObject_impl &rtobj, const SDOPackage::ServiceProfile &profile)=0
Initialization function of the consumer class.
RTC::RTObject_impl
RT-Component class.
Definition: RTObject.h:89
coil::Singleton
Singleton template class.
Definition: Singleton.h:106
Timer.h
Timer class.
Factory.h
generic Factory template class
RTC::SdoServiceProviderBase
Definition: SdoServiceProviderBase.h:134
EXTERN
#define EXTERN
Definition: Factory.h:42
Mutex.h
RTC::SdoServiceProviderBase::getProfile
virtual const SDOPackage::ServiceProfile & getProfile() const =0
Getting ServiceProfile.
RTC::SdoServiceProviderBase::reinit
virtual bool reinit(const SDOPackage::ServiceProfile &profile)=0
Reinitialization function of the consumer class.
RTObject.h
RT component base class.
RTC
RT-Component.
RTC.h
RTComponent header.
RTC::SdoServiceProviderFactory
::coil::GlobalFactory< ::RTC::SdoServiceProviderBase > SdoServiceProviderFactory
typedef of sdoServiceProviderFactory
Definition: SdoServiceProviderBase.h:238
RTC::SdoServiceProviderBase::finalize
virtual void finalize()=0
Finalization.