メインページ | ネームスペース一覧 | クラス階層 | 構成 | ファイル一覧 | ネームスペースメンバ | 構成メンバ | ファイルメンバ

クラス RTM::RtcNaming

CORBA Naming Service アクセスヘルパークラス. [詳細]

#include <RtcNaming.h>

すべてのメンバ一覧

Public メソッド

 RtcNaming ()
 RtcNaming クラスコンストラクタ.

 RtcNaming (CORBA::ORB_ptr orb)
 RtcNaming クラスコンストラクタ.

 ~RtcNaming ()
 RtcNaming クラスデストラクタ.

bool initNaming (const CORBA::ORB_ptr orb)
 RtcNaming クラスデストラクタ.

CosNaming::NamingContextExt_var createContext (CosNaming::NamingContextExt_var context, const std::string &id, const std::string &kind)
 ネーミングコンテキストの生成

bool createHostContext (const std::string &id)
 ホストコンテキストの生成

bool createManagerContext (const std::string &id)
 マネージャコンテキストの生成

bool createCategoryContext (const std::string &category)
 カテゴリコンテキストの生成

bool createModuleContext (const std::string &module, const std::string &category)
 モジュールコンテキストの生成

bool bindObject (CosNaming::NamingContextExt_var context, const std::string &id, const std::string &kind, CORBA::Object_ptr obj)
 オブジェクトのバインド

bool bindObjectByFullPath (const std::string &path, CORBA::Object_ptr obj)
 オブジェクトをフルパス指定でバインド

bool bindComponent (const std::string &component, const std::string &module, const std::string &category, CORBA::Object_ptr obj)
 コンポーネントのバインド

bool bindManager (const std::string &id, CORBA::Object_ptr obj)
 マネージャのバインド

bool destroyHostContext ()
 自分のホストコンテキストの削除

bool destroyManagerContext ()
 自分のマネージャコンテキストの削除

bool destroyCategoryContext (const std::string &id)
 カテゴリコンテキストの削除

bool destroyModuleContext (const std::string &module, const std::string &category)
 モジュールコンテキストの削除

bool unbindObject (CosNaming::NamingContextExt_var context, const std::string &id, const std::string &kind)
 オブジェクトのアンバインド

bool unbindObjectByFullPath (const std::string &path)
 オブジェクトをフルパス指定でアンバインド

bool unbindLocalComponent (const std::string category, const std::string module, const std::string instance)
 コンポーネントオブジェクトをアンバインド

bool findHostContext (const std::string &id_seq, ContextList &context)
 ホストコンテキストの検索

bool findCategoryContext (const std::string &id_seq, ContextList &context)
 カテゴリコンテキストの検索

bool findModuleContext (const std::string &id_seq, ContextList &context)
 モジュールコンテキストの検索

bool findManagerContext (const std::string &id_seq, ContextList &context)
 マネージャコンテキストの検索

bool findManager (std::string &id, ObjectList &objects)
 マネージャオブジェクトリファレンスの検索・取得

bool findComponents (const std::string &id_seq, ObjectList &objects)
 コンポーネントオブジェクトリファレンスの検索・取得


Protected メソッド

bool destroyRecursive (CosNaming::NamingContextExt_var context)
 ネーミングコンテキストの再帰的削除

void findObjectsRecursive (CosNaming::NamingContextExt_ptr context, const std::string &path, ObjectList &obj)
 オブジェクトリファレンスを再帰的に取得

void findContextRecursive (CosNaming::NamingContextExt_var context, const std::string &path, ContextList &context_list)
 ネーミングコンテキストを再帰的に取得

void bindObjectRecursive (CosNaming::NamingContextExt_var context, const std::string &path, CORBA::Object_ptr obj)
 コンテキスト・オブジェクトを再帰的にバインド


説明

CORBA Naming Service アクセスヘルパークラス.


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

RTM::RtcNaming::RtcNaming  )  [inline]
 

RtcNaming クラスコンストラクタ.

RTM::RtcNaming::RtcNaming CORBA::ORB_ptr  orb  )  [inline]
 

RtcNaming クラスコンストラクタ.

RTM::RtcNaming::~RtcNaming  ) 
 

RtcNaming クラスデストラクタ.


関数

bool RTM::RtcNaming::bindComponent const std::string &  component,
const std::string &  module,
const std::string &  category,
CORBA::Object_ptr  obj
 

コンポーネントのバインド

オブジェクトを指定したコンテキスト下にバインド

引数:
id コンポーネントの ID
category コンポーネントのカテゴリ
obj コンポーネントのオブジェクトリファレンス

bool RTM::RtcNaming::bindManager const std::string &  id,
CORBA::Object_ptr  obj
 

マネージャのバインド

マネージャを指定したコンテキスト下にバインド

引数:
id マネージャ名
obj マネージャのオブジェクトリファレンス

bool RTM::RtcNaming::bindObject CosNaming::NamingContextExt_var  context,
const std::string &  id,
const std::string &  kind,
CORBA::Object_ptr  obj
 

オブジェクトのバインド

オブジェクトを指定したコンテキスト下にバインド

引数:
context オブジェクトをバインドするコンテキスト
id オブジェクト ID
kind オブジェクト KIND
obj バインドするオブジェクトのオブジェクトリファレンス

bool RTM::RtcNaming::bindObjectByFullPath const std::string &  path,
CORBA::Object_ptr  obj
 

オブジェクトをフルパス指定でバインド

オブジェクトを指定フルパスに従ってバインドする。

引数:
path オブジェクトをバインドするネーミングツリーのフルパス
obj バインドするオブジェクトのオブジェクトリファレンス

void RTM::RtcNaming::bindObjectRecursive CosNaming::NamingContextExt_var  context,
const std::string &  path,
CORBA::Object_ptr  obj
[protected]
 

コンテキスト・オブジェクトを再帰的にバインド

引数:
context バインドを開始するコンテキスト
path 検索パス
obj オブジェクトリファレンス

bool RTM::RtcNaming::createCategoryContext const std::string &  category  ) 
 

カテゴリコンテキストの生成

カテゴリコンテキストレベルにマネージャ名のコンテキストを生成する

引数:
id コンテキスト名として与えるカテゴリ名

CosNaming::NamingContextExt_var RTM::RtcNaming::createContext CosNaming::NamingContextExt_var  context,
const std::string &  id,
const std::string &  kind
 

ネーミングコンテキストの生成

与えられたネーミングコンテキスト上に id,kind のコンテキストを生成

引数:
context コンテキストを生成する親ネーミングコンテキスト
id コンテキスト ID
kind コンテキスト KIND

bool RTM::RtcNaming::createHostContext const std::string &  id  ) 
 

ホストコンテキストの生成

ホストコンテキストレベルにホスト名のコンテキストを生成する

引数:
id コンテキスト名として与えるホスト名

bool RTM::RtcNaming::createManagerContext const std::string &  id  ) 
 

マネージャコンテキストの生成

マネージャコンテキストレベルにマネージャ名のコンテキストを生成する

引数:
id コンテキスト名として与えるマネージャ名

bool RTM::RtcNaming::createModuleContext const std::string &  module,
const std::string &  category
 

モジュールコンテキストの生成

モジュールコンテキストレベルにマネージャ名のコンテキストを生成する

引数:
module コンテキスト名として与えるモジュール名
category モジュールコンテキストを作成するカテゴリ名

bool RTM::RtcNaming::destroyCategoryContext const std::string &  id  ) 
 

カテゴリコンテキストの削除

引数:
id カテゴリ名

bool RTM::RtcNaming::destroyHostContext  ) 
 

自分のホストコンテキストの削除

bool RTM::RtcNaming::destroyManagerContext  ) 
 

自分のマネージャコンテキストの削除

bool RTM::RtcNaming::destroyModuleContext const std::string &  module,
const std::string &  category
 

モジュールコンテキストの削除

引数:
module モジュール名
category カテゴリ名

bool RTM::RtcNaming::destroyRecursive CosNaming::NamingContextExt_var  context  )  [protected]
 

ネーミングコンテキストの再帰的削除

引数:
context 削除を開始するコンテキスト

bool RTM::RtcNaming::findCategoryContext const std::string &  id_seq,
ContextList context
 

カテゴリコンテキストの検索

引数:
id_seq 検索するID列
context コンテキスト列 (戻り値)

bool RTM::RtcNaming::findComponents const std::string &  id_seq,
ObjectList objects
 

コンポーネントオブジェクトリファレンスの検索・取得

引数:
id_seq 検索するID列
object オブジェクトリファレンス列 (戻り値)

void RTM::RtcNaming::findContextRecursive CosNaming::NamingContextExt_var  context,
const std::string &  path,
ContextList context_list
[protected]
 

ネーミングコンテキストを再帰的に取得

引数:
context 検索を開始するコンテキスト
path 検索パス
context_list コンテキスト列 (戻り値)

bool RTM::RtcNaming::findHostContext const std::string &  id_seq,
ContextList context
 

ホストコンテキストの検索

引数:
id_seq 検索するID列
context コンテキスト列 (戻り値)

bool RTM::RtcNaming::findManager std::string &  id,
ObjectList objects
 

マネージャオブジェクトリファレンスの検索・取得

引数:
id_seq 検索するID列
object オブジェクトリファレンス列 (戻り値)

bool RTM::RtcNaming::findManagerContext const std::string &  id_seq,
ContextList context
 

マネージャコンテキストの検索

引数:
id_seq 検索するID列
context コンテキスト列 (戻り値)

bool RTM::RtcNaming::findModuleContext const std::string &  id_seq,
ContextList context
 

モジュールコンテキストの検索

引数:
id_seq 検索するID列
context コンテキスト列 (戻り値)

void RTM::RtcNaming::findObjectsRecursive CosNaming::NamingContextExt_ptr  context,
const std::string &  path,
ObjectList obj
[protected]
 

オブジェクトリファレンスを再帰的に取得

引数:
context 検索を開始するコンテキスト
path 検索パス
obj オブジェクトリファレンス列 (戻り値)

bool RTM::RtcNaming::initNaming const CORBA::ORB_ptr  orb  ) 
 

RtcNaming クラスデストラクタ.

引数:
orb ORB へのポインタ

bool RTM::RtcNaming::unbindLocalComponent const std::string  category,
const std::string  module,
const std::string  instance
 

コンポーネントオブジェクトをアンバインド

当該RtcNamingクラスでバインドされたロングネームのオブジェクトを アンバインドする。

引数:
category アンバインドするオブジェクトのカテゴリ名
module アンバインドするオブジェクトのモジュール名
instance アンバインドするオブジェクトのインスタンス名

bool RTM::RtcNaming::unbindObject CosNaming::NamingContextExt_var  context,
const std::string &  id,
const std::string &  kind
 

オブジェクトのアンバインド

指定したコンテキスト下のオブジェクトをアンバインド

引数:
context オブジェクトをバインドするコンテキスト
id オブジェクト ID
kind オブジェクト KIND

bool RTM::RtcNaming::unbindObjectByFullPath const std::string &  path  ) 
 

オブジェクトをフルパス指定でアンバインド

オブジェクトを指定フルパスに従ってアンバインドする。

引数:
path アンバインドするオブジェクトのフルパス


このクラスの説明は次のファイルから生成されました:
OpenRTMに対してMon May 23 03:13:44 2005に生成されました。 doxygen 1.3.6