RTC::SdoServiceAdmin Class Reference

#include <SdoServiceAdmin.h>

List of all members.

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)

Constructor & Destructor Documentation

RTC::SdoServiceAdmin::SdoServiceAdmin ( ::RTC::RTObject_impl rtobj  ) 

Constructor.

Constructor

Parameters:
 
virtual RTC::SdoServiceAdmin::~SdoServiceAdmin (  )  [virtual]

Virtual destractor.


Member Function Documentation

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.

Parameters:
id IFR ID of an SDO Service provider
Returns:
an SDO Service reference which has the specified id
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.

Parameters:
id IFR ID of an SDO Service provider
Returns:
ServiceProfile which has the specified id
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.

Generated on Fri Oct 28 18:31:19 2016 for OpenRTM-aist by  doxygen 1.6.3