19 #ifndef RTC_SDOSERVICEADMIN_H 20 #define RTC_SDOSERVICEADMIN_H 22 #include <coil/Mutex.h> 23 #include <coil/Factory.h> 25 #include <rtm/idl/SDOPackageStub.h> 31 class SdoServiceProviderBase;
32 class SdoServiceConsumerBase;
332 const std::string
getUUID()
const;
334 std::string
ifrToKey(std::string& ifr);
375 #endif // RTC_SDOSERVICEADMIN_H
RT component logger class.
bool removeSdoServiceProvider(const char *id)
Remove a SDO service provider.
SDOPackage::SDOService_ptr getServiceProvider(const char *id)
Get ServiceProfile of an SDO Service.
bool isEnabledConsumerType(const SDOPackage::ServiceProfile &sProfile)
If it is enabled service type.
bool m_allConsumerEnabled
::RTC::Logger rtclog
logger
std::vector< std::string > vstring
SdoServiceAdmin(::RTC::RTObject_impl &rtobj)
Constructor.
coil::vstring m_consumerTypes
std::string ifrToKey(std::string &ifr)
bool addSdoServiceProvider(const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider)
Set a SDO service provider.
const std::string getUUID() const
bool addSdoServiceConsumer(const SDOPackage::ServiceProfile &sProfile)
Add Service Consumer.
SDOPackage::ServiceProfile * getServiceProviderProfile(const char *id)
Get ServiceProfile of an SDO Service Provider.
RTC::RTObject_impl & m_rtobj
SDOPackage::ServiceProfileList * getServiceProviderProfiles()
Get ServiceProfileList of SDO Service Provider.
coil::Mutex m_consumer_mutex
coil::Mutex m_provider_mutex
bool isExistingConsumerType(const SDOPackage::ServiceProfile &sProfile)
If it is existing service type.
virtual ~SdoServiceAdmin()
Virtual destractor.
bool removeSdoServiceConsumer(const char *id)
Remove Service Consumer.
std::vector< SdoServiceConsumerBase * > m_consumers
SDO ServiceProfileList with mutex lock.
std::vector< SdoServiceProviderBase * > m_providers
SDO ServiceProfileList with mutex lock.