OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
RTC::SdoServiceAdmin Class Reference

#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)
 

Constructor & Destructor Documentation

◆ SdoServiceAdmin()

RTC::SdoServiceAdmin::SdoServiceAdmin ( ::RTC::RTObject_impl & rtobj)
explicit

Constructor.

Constructor

Parameters

iline 171

◆ ~SdoServiceAdmin()

virtual RTC::SdoServiceAdmin::~SdoServiceAdmin ( )
virtual

Virtual destractor.

Virtual destractor.

Member Function Documentation

◆ addSdoServiceConsumer()

bool RTC::SdoServiceAdmin::addSdoServiceConsumer ( const SDOPackage::ServiceProfile & sProfile)

Add Service Consumer.

◆ addSdoServiceProvider()

bool RTC::SdoServiceAdmin::addSdoServiceProvider ( const SDOPackage::ServiceProfile & prof,
SdoServiceProviderBase * provider )

Set a SDO service provider .

◆ getServiceProvider()

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

◆ getServiceProviderProfile()

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

◆ getServiceProviderProfiles()

SDOPackage::ServiceProfileList * RTC::SdoServiceAdmin::getServiceProviderProfiles ( )

Get ServiceProfileList of SDO Service Provider.

◆ getUUID()

static std::string RTC::SdoServiceAdmin::getUUID ( )
staticprotected

◆ ifrToKey()

static std::string RTC::SdoServiceAdmin::ifrToKey ( std::string & ifr)
staticprotected

◆ init()

virtual void RTC::SdoServiceAdmin::init ( const coil::Properties & prop)
virtual

Initialization.

◆ initConsumer()

void RTC::SdoServiceAdmin::initConsumer ( const coil::Properties & prop)
protected

Consumer Initialization.

◆ initProvider()

void RTC::SdoServiceAdmin::initProvider ( const coil::Properties & prop)
protected

Provider Initialization.

◆ isEnabledConsumerType()

bool RTC::SdoServiceAdmin::isEnabledConsumerType ( const SDOPackage::ServiceProfile & sProfile)
protected

If it is enabled service type.

◆ isExistingConsumerType()

bool RTC::SdoServiceAdmin::isExistingConsumerType ( const SDOPackage::ServiceProfile & sProfile)
protected

If it is existing service type.

◆ removeSdoServiceConsumer()

bool RTC::SdoServiceAdmin::removeSdoServiceConsumer ( const char * id)

Remove Service Consumer.

◆ removeSdoServiceProvider()

bool RTC::SdoServiceAdmin::removeSdoServiceProvider ( const char * id)

Remove a SDO service provider .


The documentation for this class was generated from the following file: