OpenRTM
1.0.0
|
#include <SdoServiceAdmin.h>
Public Member Functions | |
SdoServiceAdmin (::RTC::RTObject_impl &rtobj) | |
Constructor. | |
virtual | ~SdoServiceAdmin () |
SDOPackage::ServiceProfileList * | getServiceProviderProfiles () |
Get ServiceProfileList of SDO Service Provider. | |
SDOPackage::ServiceProfile * | getServiceProviderProfile (const char *id) |
Get ServiceProfile of an SDO Service Provider. | |
SDOPackage::SDOService_ptr | getServiceProvider (const char *id) |
Get ServiceProfile of an SDO Service. | |
bool | addSdoServiceProvider (const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider) |
Set a SDO service provider. | |
bool | removeSdoServiceProvider (const char *id) |
Remove a SDO service provider. | |
bool | addSdoServiceConsumer (const SDOPackage::ServiceProfile &sProfile) |
Add Service Consumer. | |
bool | removeSdoServiceConsumer (const char *id) |
Remove Service Consumer. | |
Protected Member Functions | |
bool | isEnabledConsumerType (const SDOPackage::ServiceProfile &sProfile) |
If it is enabled service type. | |
bool | isExistingConsumerType (const SDOPackage::ServiceProfile &sProfile) |
If it is existing service type. | |
const std::string | getUUID () const |
std::string | ifrToKey (std::string &ifr) |
RTC::SdoServiceAdmin::SdoServiceAdmin | ( | ::RTC::RTObject_impl & | rtobj | ) |
Constructor.
Constructor
virtual RTC::SdoServiceAdmin::~SdoServiceAdmin | ( | ) | [virtual] |
Virtual destractor.
bool RTC::SdoServiceAdmin::addSdoServiceConsumer | ( | const SDOPackage::ServiceProfile & | sProfile | ) |
Add Service Consumer.
bool RTC::SdoServiceAdmin::addSdoServiceProvider | ( | const SDOPackage::ServiceProfile & | prof, |
SdoServiceProviderBase * | provider | ||
) |
Set a SDO service provider.
SDOPackage::SDOService_ptr RTC::SdoServiceAdmin::getServiceProvider | ( | const char * | id | ) |
Get ServiceProfile of an SDO Service.
This operation returnes an object reference of an SDO Service Provider which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, InvalidParameter exception will be thrown.
id | IFR ID of an SDO Service provider |
SDOPackage::ServiceProfile* RTC::SdoServiceAdmin::getServiceProviderProfile | ( | const char * | id | ) |
Get ServiceProfile of an SDO Service Provider.
This operation returnes ServiceProfile of an SDO Service Provider which has the specified id. If the specified id is NULL pointer or the specified id does not exist in the ServiceProfile list, InvalidParameter exception will be thrown.
id | IFR ID of an SDO Service provider |
SDOPackage::ServiceProfileList* RTC::SdoServiceAdmin::getServiceProviderProfiles | ( | ) |
Get ServiceProfileList of SDO Service Provider.
const std::string RTC::SdoServiceAdmin::getUUID | ( | ) | const [protected] |
std::string RTC::SdoServiceAdmin::ifrToKey | ( | std::string & | ifr | ) | [protected] |
bool RTC::SdoServiceAdmin::isEnabledConsumerType | ( | const SDOPackage::ServiceProfile & | sProfile | ) | [protected] |
If it is enabled service type.
bool RTC::SdoServiceAdmin::isExistingConsumerType | ( | const SDOPackage::ServiceProfile & | sProfile | ) | [protected] |
If it is existing service type.
bool RTC::SdoServiceAdmin::removeSdoServiceConsumer | ( | const char * | id | ) |
Remove Service Consumer.
bool RTC::SdoServiceAdmin::removeSdoServiceProvider | ( | const char * | id | ) |
Remove a SDO service provider.