OpenRTM-aist-Python 2.0.2
OpenRTM_aist.ECFactory.ECFactoryBase クラス

[詳解]

OpenRTM_aist.ECFactory.ECFactoryBase の継承関係図
OpenRTM_aist.ECFactory.ECFactoryPython

公開メンバ関数

 name (self)
 
 create (self)
 
 destroy (self, ec)
 

詳解

ECFactoryBase 抽象クラス

ExecutionContext生成用Factoryの抽象クラス。 各ExecutionContextを生成するための具象Factoryクラスは、 以下の関数の実装を提供しなければならない。

publicインターフェースとして以下のものを提供する。

  • name() : 生成対象ExecutionContext名称の取得
  • create() : ExecutionContextインスタンスの生成
  • destroy(): ExecutionContextインスタンスの破棄
から
0.4.0

メソッド詳解

◆ create()

OpenRTM_aist.ECFactory.ECFactoryBase.create ( self)

ExecutionContext生成用関数(サブクラス実装用)

ExecutionContextのインスタンスを生成するための関数。
この関数は具象サブクラスで実装する必要がある。

引数
self
戻り値
生成したExecutionContextインスタンス

OpenRTM_aist.ECFactory.ECFactoryPythonで再実装されています。

◆ destroy()

OpenRTM_aist.ECFactory.ECFactoryBase.destroy ( self,
ec )

ExecutionContext破棄用関数(サブクラス実装用)

ExecutionContextのインスタンスを破棄するための関数。
この関数は具象サブクラスで実装する必要がある。

引数
self
comp破棄対象のExecutionContextインスタンス

OpenRTM_aist.ECFactory.ECFactoryPythonで再実装されています。

◆ name()

OpenRTM_aist.ECFactory.ECFactoryBase.name ( self)

生成対象ExecutionContext名称取得用関数(サブクラス実装用)

生成対象ExecutionContextの名称を取得するための関数。
この関数は具象サブクラスで実装する必要がある。

引数
self
戻り値
生成対象ExecutionContext名称

OpenRTM_aist.ECFactory.ECFactoryPythonで再実装されています。


このクラス詳解は次のファイルから抽出されました: