OpenRTM-aist-Python 2.0.2
OpenRTM_aist.ComponentActionListener.PortActionListenerHolder クラス

[詳解]

公開メンバ関数

 __init__ (self)
 
 __del__ (self)
 
 addListener (self, listener)
 
 removeListener (self, listener)
 
 notify (self, pprofile)
 

詳解

PortActionListener ホルダクラス

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

構築子と解体子

◆ __init__()

OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.__init__ ( self)

コンストラクタ

◆ __del__()

OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.__del__ ( self)

デストラクタ

メソッド詳解

◆ addListener()

OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.addListener ( self,
listener )

リスナーの追加

リスナーを追加する。

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

◆ notify()

OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.notify ( self,
pprofile )

リスナーへ通知する

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

引数
infoConnectorInfo
cdrdataデータ void notify(const RTC.PortProfile& pprofile);

◆ removeListener()

OpenRTM_aist.ComponentActionListener.PortActionListenerHolder.removeListener ( self,
listener )

リスナーの削除

リスナを削除する。

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

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