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;
369 static std::string
ifrToKey(std::string& ifr);
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;
410 #endif // RTC_SDOSERVICEADMIN_H
static std::string ifrToKey(std::string &ifr)
Definition: SdoServiceAdmin.h:150
RT component logger class.
virtual ~SdoServiceAdmin()
Virtual destractor.
RT-Component class.
Definition: RTObject.h:90
virtual void init(const coil::Properties &prop)
Initialization.
bool removeSdoServiceProvider(const char *id)
Remove a SDO service provider.
SDOPackage::SDOService_ptr getServiceProvider(const char *id)
Get ServiceProfile of an SDO Service.
void initProvider(const coil::Properties &prop)
Provider Initialization.
bool isEnabledConsumerType(const SDOPackage::ServiceProfile &sProfile)
If it is enabled service type.
SdoServiceAdmin(::RTC::RTObject_impl &rtobj)
Constructor.
void initConsumer(const coil::Properties &prop)
Consumer Initialization.
Definition: SdoServiceProviderBase.h:133
SDOPackage::ServiceProfile * getServiceProviderProfile(const char *id)
Get ServiceProfile of an SDO Service Provider.
static std::string getUUID()
Logger class.
Definition: SystemLogger.h:99
bool addSdoServiceProvider(const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider)
Set a SDO service provider.
bool addSdoServiceConsumer(const SDOPackage::ServiceProfile &sProfile)
Add Service Consumer.
SDOPackage::ServiceProfileList * getServiceProviderProfiles()
Get ServiceProfileList of SDO Service Provider.
bool isExistingConsumerType(const SDOPackage::ServiceProfile &sProfile)
If it is existing service type.
coil::Properties Properties
Definition: RTC.h:72
bool removeSdoServiceConsumer(const char *id)
Remove Service Consumer.