19#ifndef RTC_SDOSERVICEADMIN_H
20#define RTC_SDOSERVICEADMIN_H
22#include <coil/Factory.h>
24#include <rtm/idl/SDOPackageStub.h>
33 class SdoServiceProviderBase;
34 class SdoServiceConsumerBase;
200 virtual void init(
const coil::Properties& prop);
374 coil::vstring m_consumerTypes;
375 bool m_allConsumerEnabled;
384 std::vector<SdoServiceProviderBase*> m_providers;
385 std::mutex m_provider_mutex;
394 std::vector<SdoServiceConsumerBase*> m_consumers;
395 std::mutex m_consumer_mutex;
RT component logger class.
Logger class.
Definition SystemLogger.h:101
RT-Component class.
Definition RTObject.h:93
Definition SdoServiceAdmin.h:151
virtual void init(const coil::Properties &prop)
Initialization.
bool isExistingConsumerType(const SDOPackage::ServiceProfile &sProfile)
If it is existing service type.
static std::string getUUID()
static std::string ifrToKey(std::string &ifr)
SdoServiceAdmin(::RTC::RTObject_impl &rtobj)
Constructor.
bool addSdoServiceConsumer(const SDOPackage::ServiceProfile &sProfile)
Add Service Consumer.
bool removeSdoServiceProvider(const char *id)
Remove a SDO service provider .
bool removeSdoServiceConsumer(const char *id)
Remove Service Consumer.
void initConsumer(const coil::Properties &prop)
Consumer Initialization.
SDOPackage::ServiceProfile * getServiceProviderProfile(const char *id)
Get ServiceProfile of an SDO Service Provider.
bool isEnabledConsumerType(const SDOPackage::ServiceProfile &sProfile)
If it is enabled service type.
void initProvider(const coil::Properties &prop)
Provider Initialization.
virtual ~SdoServiceAdmin()
Virtual destractor.
SDOPackage::SDOService_ptr getServiceProvider(const char *id)
Get ServiceProfile of an SDO Service.
SDOPackage::ServiceProfileList * getServiceProviderProfiles()
Get ServiceProfileList of SDO Service Provider.
bool addSdoServiceProvider(const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider)
Set a SDO service provider .
Definition SdoServiceProviderBase.h:136