OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
SdoServiceConsumerBase.h
Go to the documentation of this file.
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
28namespace 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__)
249EXTERN template class DLL_PLUGIN coil::GlobalFactory<RTC::SdoServiceConsumerBase >;
250#elif defined(__GNUC__)
251EXTERN template class coil::GlobalFactory<RTC::SdoServiceConsumerBase>;
252#endif
253
254#endif // RTC_SDOSERVICECONSUMERBASE_H
RT component base class.
RT-Component class.
Definition RTObject.h:93
Definition SdoServiceConsumerBase.h:137
virtual void finalize()=0
Finalization.
virtual bool reinit(const SDOPackage::ServiceProfile &profile)=0
Reinitialization function of the consumer class.
virtual ~SdoServiceConsumerBase()=default
virtual destructor
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 .
RT-Component.
::coil::GlobalFactory< ::RTC::SdoServiceConsumerBase > SdoServiceConsumerFactory
typedef of sdoServiceConsumerFactory
Definition SdoServiceConsumerBase.h:237