Public Member Functions | Protected Member Functions | Private Attributes
RTC::SdoServiceAdmin Class Reference

#include <SdoServiceAdmin.h>

List of all members.

Public Member Functions

bool addSdoServiceConsumer (const SDOPackage::ServiceProfile &sProfile)
 Add Service Consumer.
bool addSdoServiceProvider (const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider)
 Set a SDO service provider.
SDOPackage::SDOService_ptr getServiceProvider (const char *id)
 Get ServiceProfile of an SDO Service.
SDOPackage::ServiceProfile * getServiceProviderProfile (const char *id)
 Get ServiceProfile of an SDO Service Provider.
SDOPackage::ServiceProfileList * getServiceProviderProfiles ()
 Get ServiceProfileList of SDO Service Provider.
bool removeSdoServiceConsumer (const char *id)
 Remove Service Consumer.
bool removeSdoServiceProvider (const char *id)
 Remove a SDO service provider.
 SdoServiceAdmin (::RTC::RTObject_impl &rtobj)
 Constructor.
virtual ~SdoServiceAdmin ()

Protected Member Functions

const std::string getUUID () const
std::string ifrToKey (std::string &ifr)
bool isEnabledConsumerType (const SDOPackage::ServiceProfile &sProfile)
 If it is enabled service type.
bool isExistingConsumerType (const SDOPackage::ServiceProfile &sProfile)
 If it is existing service type.

Private Attributes

bool m_allConsumerEnabled
coil::Mutex m_consumer_mutex
std::vector
< SdoServiceConsumerBase * > 
m_consumers
 SDO ServiceProfileList with mutex lock.
coil::vstring m_consumerTypes
coil::Mutex m_provider_mutex
std::vector
< SdoServiceProviderBase * > 
m_providers
 SDO ServiceProfileList with mutex lock.
RTC::RTObject_implm_rtobj
::RTC::Logger rtclog
 logger

Detailed Description

Definition at line 148 of file SdoServiceAdmin.h.


Constructor & Destructor Documentation

Constructor.

Constructor

Parameters:

Definition at line 59 of file SdoServiceAdmin.cpp.

Virtual destractor.

Definition at line 155 of file SdoServiceAdmin.cpp.


Member Function Documentation

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

Add Service Consumer.

Definition at line 302 of file SdoServiceAdmin.cpp.

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

Set a SDO service provider.

Definition at line 239 of file SdoServiceAdmin.cpp.

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

Definition at line 222 of file SdoServiceAdmin.cpp.

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

Definition at line 200 of file SdoServiceAdmin.cpp.

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

Get ServiceProfileList of SDO Service Provider.

Definition at line 179 of file SdoServiceAdmin.cpp.

const std::string RTC::SdoServiceAdmin::getUUID ( ) const [protected]

Definition at line 471 of file SdoServiceAdmin.cpp.

std::string RTC::SdoServiceAdmin::ifrToKey ( std::string &  ifr) [protected]

Definition at line 480 of file SdoServiceAdmin.cpp.

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

If it is enabled service type.

Definition at line 422 of file SdoServiceAdmin.cpp.

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

If it is existing service type.

Definition at line 449 of file SdoServiceAdmin.cpp.

Remove Service Consumer.

Definition at line 379 of file SdoServiceAdmin.cpp.

Remove a SDO service provider.

Definition at line 268 of file SdoServiceAdmin.cpp.


Member Data Documentation

Definition at line 340 of file SdoServiceAdmin.h.

Definition at line 360 of file SdoServiceAdmin.h.

SDO ServiceProfileList with mutex lock.

Definition at line 359 of file SdoServiceAdmin.h.

Definition at line 339 of file SdoServiceAdmin.h.

Definition at line 350 of file SdoServiceAdmin.h.

SDO ServiceProfileList with mutex lock.

Definition at line 349 of file SdoServiceAdmin.h.

Definition at line 338 of file SdoServiceAdmin.h.

logger

Definition at line 369 of file SdoServiceAdmin.h.


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


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sat Jun 8 2019 18:49:15