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

クラス RTM::RtcFactoryPy

RtcFactoryPy クラス. [詳細]

#include <RtcFactoryPy.h>

RTM::RtcFactoryPyに対する継承グラフ

RTM::RtcFactoryBase すべてのメンバ一覧

Public メソッド

 RtcFactoryPy (RtcModuleProfile profile, PyObject *callable)
 RtcFactoryPy クラスコンストラクタ.

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

RtcBasecreate (RtcManager *mgr)
 コンポーネントの生成

void destroy (RtcBase *comp)
 コンポーネントの破棄

virtual RtcModuleProfileprofile ()
 コンポーネントプロファイルの取得

virtual int & number ()
 現在のインスタンス数


Protected 変数

PyObject * m_pyClass
 RTComponent を実装した Python クラスへのポインタ.

std::list< PyObject * > m_pyComponents
 RTComponent のインスタンスへのポインタのリスト.

PyInterpreterState * m_Interp
 Python インタプリタへのポインタ.

RtcModuleProfile m_Profile
 コンポーネントのプロファイル

int m_Number
 現在のインスタンス数


説明

RtcFactoryPy クラス.

Python で実装されたコンポーネントを生成するためのファクトリクラス。


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

RTM::RtcFactoryPy::RtcFactoryPy RtcModuleProfile  profile,
PyObject *  callable
[inline]
 

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

RtcFactoryPy クラスのコンストラクタ。 パラメータとして与えられるモジュールのプロファイルと Python の callable オブジェクトを引数に取りPythonコンポーネントを生成する。

引数:
profile コンポーネントのプロファイル
callable Python の callable Object

RTM::RtcFactoryPy::~RtcFactoryPy  )  [inline]
 

RtcFactoryPy クラスデストラクタ.


関数

RtcBase* RTM::RtcFactoryPy::create RtcManager mgr  )  [inline, virtual]
 

コンポーネントの生成

Python で実装された RTComponent のインスタンスを生成する。

引数:
mgr RtcManager へのポインタ

RTM::RtcFactoryBaseに実装されています.

void RTM::RtcFactoryPy::destroy RtcBase comp  )  [inline, virtual]
 

コンポーネントの破棄

RTComponent のインスタンスを破棄する。

引数:
comp RtcBase へのポインタ

RTM::RtcFactoryBaseに実装されています.

virtual int& RTM::RtcFactoryBase::number  )  [inline, virtual, inherited]
 

現在のインスタンス数

コンポーネントの現在のインスタンス数を取得する。

virtual RtcModuleProfile& RTM::RtcFactoryBase::profile  )  [inline, virtual, inherited]
 

コンポーネントプロファイルの取得

コンポーネントのプロファイルを取得する


変数

PyInterpreterState* RTM::RtcFactoryPy::m_Interp [protected]
 

Python インタプリタへのポインタ.

int RTM::RtcFactoryBase::m_Number [protected, inherited]
 

現在のインスタンス数

RtcModuleProfile RTM::RtcFactoryBase::m_Profile [protected, inherited]
 

コンポーネントのプロファイル

PyObject* RTM::RtcFactoryPy::m_pyClass [protected]
 

RTComponent を実装した Python クラスへのポインタ.

std::list<PyObject*> RTM::RtcFactoryPy::m_pyComponents [protected]
 

RTComponent のインスタンスへのポインタのリスト.


このクラスの説明は次のファイルから生成されました:
OpenRTMに対してThu Dec 16 15:29:07 2004に生成されました。 doxygen 1.3.6