FactoryBase 基底クラス. [詳細]
#include <Factory.h>
Public メソッド | |
| FactoryBase (const coil::Properties &profile) | |
| コンストラクタ | |
| virtual | ~FactoryBase (void) |
| virtual RTObject_impl * | create (Manager *mgr)=0 |
| コンポーネントの生成 | |
| virtual void | destroy (RTObject_impl *comp)=0 |
| コンポーネントの破棄 | |
| virtual coil::Properties & | profile () |
| コンポーネントプロファイルの取得 | |
| virtual int | number () |
| 現在のインスタンス数の取得 | |
Protected 変数 | |
| coil::Properties | m_Profile |
| コンポーネントのプロファイル | |
| int | m_Number |
| 現在のインスタンス数 | |
FactoryBase 基底クラス.
コンポーネントファクトリの基底クラス。
| RTC::FactoryBase::FactoryBase | ( | const coil::Properties & | profile | ) |
コンストラクタ
コンストラクタ。
| profile | コンポーネントのプロファイル |
| virtual RTC::FactoryBase::~FactoryBase | ( | void | ) | [virtual] |
デストラクタ
| virtual RTObject_impl* RTC::FactoryBase::create | ( | Manager * | mgr | ) | [pure virtual] |
コンポーネントの生成
RT-Component のインスタンスを生成するための純粋仮想関数。
| mgr | マネージャオブジェクト |
RTC::FactoryCXXで実装されています。
| virtual void RTC::FactoryBase::destroy | ( | RTObject_impl * | comp | ) | [pure virtual] |
| virtual int RTC::FactoryBase::number | ( | ) | [virtual] |
現在のインスタンス数の取得
コンポーネントの現在のインスタンス数を取得する。
| virtual coil::Properties& RTC::FactoryBase::profile | ( | ) | [virtual] |
コンポーネントプロファイルの取得
コンポーネントのプロファイルを取得する
参照元 RTC::Manager::ModuleFactories::operator()(), と RTC::Manager::FactoryPredicate::operator()().
int RTC::FactoryBase::m_Number [protected] |
現在のインスタンス数
coil::Properties RTC::FactoryBase::m_Profile [protected] |
コンポーネントのプロファイル
1.6.3