OpenRTM-aist-Python 1.1.2
公開メンバ関数 | 全メンバ一覧
OpenRTM_aist.ComponentActionListener.ExecutionContextActionListenerHolder クラス

ExecutionContextActionListener ホルダクラス [詳解]

公開メンバ関数

def __init__ (self)
 コンストラクタ
 
def __del__ (self)
 デストラクタ
 
def addListener (self, listener, autoclean)
 リスナーの追加 [詳解]
 
def removeListener (self, listener)
 リスナーの削除 [詳解]
 
def notify (self, ec_id)
 リスナーへ通知する [詳解]
 

詳解

ExecutionContextActionListener ホルダクラス

複数の ExecutionContextActionListener を保持し管理するクラス。

メソッド詳解

def OpenRTM_aist.ComponentActionListener.ExecutionContextActionListenerHolder.addListener (   self,
  listener,
  autoclean 
)

リスナーの追加

リスナーを追加する。

引数
listener追加するリスナ
autocleantrue:デストラクタで削除する, false:デストラクタで削除しない void addListener(ExecutionContextActionListener* listener, bool autoclean);
def OpenRTM_aist.ComponentActionListener.ExecutionContextActionListenerHolder.notify (   self,
  ec_id 
)

リスナーへ通知する

登録されているリスナのコールバックメソッドを呼び出す。

引数
infoConnectorInfo
cdrdataデータ void notify(UniqueId ec_id);
def OpenRTM_aist.ComponentActionListener.ExecutionContextActionListenerHolder.removeListener (   self,
  listener 
)

リスナーの削除

リスナを削除する。

引数
listener削除するリスナ void removeListener(ExecutionContextActionListener* listener);

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