OpenRTM  1.0.0
Public メソッド | Protected メソッド
クラス RTC::SdoServiceAdmin

#include <SdoServiceAdmin.h>

すべてのメンバ一覧

Public メソッド

 SdoServiceAdmin (::RTC::RTObject_impl &rtobj)
 コンストラクタ
virtual ~SdoServiceAdmin ()
 仮想デストラクタ
SDOPackage::ServiceProfileList * getServiceProviderProfiles ()
 SDO Service Provider の ServiceProfileList を取得する
SDOPackage::ServiceProfile * getServiceProviderProfile (const char *id)
 SDO Service Provider の ServiceProfile を取得する
SDOPackage::SDOService_ptr getServiceProvider (const char *id)
 SDO Service Provider の Service を取得する
bool addSdoServiceProvider (const SDOPackage::ServiceProfile &prof, SdoServiceProviderBase *provider)
 SDO service provider をセットする
bool removeSdoServiceProvider (const char *id)
 SDO service provider を削除する
bool addSdoServiceConsumer (const SDOPackage::ServiceProfile &sProfile)
 Service Consumer を追加する
bool removeSdoServiceConsumer (const char *id)
 Service Consumer を削除する

Protected メソッド

bool isEnabledConsumerType (const SDOPackage::ServiceProfile &sProfile)
 許可されたサービス型かどうか調べる
bool isExistingConsumerType (const SDOPackage::ServiceProfile &sProfile)
 存在するサービス型かどうか調べる
const std::string getUUID () const
std::string ifrToKey (std::string &ifr)

コンストラクタとデストラクタ

コンストラクタ

コンストラクタ

引数:

仮想デストラクタ

仮想デストラクタ。


関数

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

Service Consumer を追加する

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

SDO service provider をセットする

SDOPackage::SDOService_ptr RTC::SdoServiceAdmin::getServiceProvider ( const char *  id)

SDO Service Provider の Service を取得する

id で指定されたIFR IDを持つSDO Service のオブジェクトリファレン ス を取得する。id が NULL ポインタの場合、指定された id に該当す るServiceProfile が存在しない場合、InvalidParameter 例外が送出さ れる。

引数:
idSDO Service provider の IFR ID
戻り値:
指定された id を持つ SDO Service のオブジェクトリファレンス
SDOPackage::ServiceProfile* RTC::SdoServiceAdmin::getServiceProviderProfile ( const char *  id)

SDO Service Provider の ServiceProfile を取得する

id で指定されたIFR IDを持つSDO Service Provider の ServiceProfile を取得する。id が NULL ポインタの場合、指定された id に該当するServiceProfile が存在しない場合、InvalidParameter 例外が送出される。

引数:
idSDO Service provider の IFR ID
戻り値:
指定された id を持つ ServiceProfile
SDOPackage::ServiceProfileList* RTC::SdoServiceAdmin::getServiceProviderProfiles ( )

SDO Service Provider の ServiceProfileList を取得する

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]

許可されたサービス型かどうか調べる

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

存在するサービス型かどうか調べる

Service Consumer を削除する

SDO service provider を削除する