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

[詳解]

公開メンバ関数

def __init__ (self)
 
def __del__ (self)
 
def addListener (self, listener)
 
def removeListener (self, listener)
 
def notify (self, ec_id, ret)
 

詳解

PostComponentActionListener ホルダクラス

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

構築子と解体子

◆ __init__()

def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.__init__ (   self)

コンストラクタ

◆ __del__()

def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.__del__ (   self)

デストラクタ

メソッド詳解

◆ addListener()

def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.addListener (   self,
  listener 
)

リスナーの追加

リスナーを追加する。

引数
listener追加するリスナ void addListener(PostComponentActionListener* listener);

◆ notify()

def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.notify (   self,
  ec_id,
  ret 
)

リスナーへ通知する

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

引数
infoConnectorInfo
cdrdataデータ void notify(UniqueId ec_id, ReturnCode_t ret);

◆ removeListener()

def OpenRTM_aist.ComponentActionListener.PostComponentActionListenerHolder.removeListener (   self,
  listener 
)

リスナーの削除

リスナを削除する。

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

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