|
OpenRTM-aist 2.1.0
|
#include <SdoServiceAdmin.h>
Public Member Functions | |
| SdoServiceAdmin (::RTC::RTObject_impl &rtobj) | |
| Constructor. | |
| virtual | ~SdoServiceAdmin () |
| Virtual destractor. | |
| virtual void | init (const coil::Properties &prop) |
| Initialization. | |
| 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 | |
| void | initProvider (const coil::Properties &prop) |
| Provider Initialization. | |
| void | initConsumer (const coil::Properties &prop) |
| Consumer Initialization. | |
| bool | isEnabledConsumerType (const SDOPackage::ServiceProfile &sProfile) |
| If it is enabled service type. | |
| bool | isExistingConsumerType (const SDOPackage::ServiceProfile &sProfile) |
| If it is existing service type. | |
Static Protected Member Functions | |
| static std::string | getUUID () |
| static std::string | ifrToKey (std::string &ifr) |
|
explicit |
Constructor.
Constructor
iline 170
|
virtual |
Virtual destractor.
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.
|
staticprotected |
|
staticprotected |
|
virtual |
Initialization.
|
protected |
Consumer Initialization.
|
protected |
Provider Initialization.
|
protected |
If it is enabled service type.
|
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 .