OpenRTM-aist-Python 2.0.2
|
公開メンバ関数 | |
__init__ (self, interfaceType=None, consumer=None) | |
equal (self, consumer) | |
setObject (self, obj) | |
releaseObject (self) | |
![]() | |
getObject (self) | |
限定公開メンバ関数 | |
_ptr (self, get_ref=False) | |
オブジェクトリファレンスを保持するプレースホルダクラス
引数で与えられた型のCORBAオブジェクトを保持する。 オブジェクトがセットされたときに、与えられた型で narrow されるので、 _ptr() で取得するリファレンスは、narrow 済みのリファレンスである。
OpenRTM_aist.CorbaConsumer.CorbaConsumer.__init__ | ( | self, | |
interfaceType = None, | |||
consumer = None ) |
コンストラクタ
self | |
interfaceType | このホルダが保持するオブジェクトの型 (デフォルト値;None) |
consumer | このホルダが保持するオブジェクト(デフォルト値;None) |
OpenRTM_aist.CorbaConsumer.CorbaConsumerBaseを再実装しています。
OpenRTM_aist.InPortCorbaCdrConsumer.InPortCorbaCdrConsumer, OpenRTM_aist.InPortCSPConsumer.InPortCSPConsumer, OpenRTM_aist.InPortDSConsumer.InPortDSConsumer, OpenRTM_aist.InPortSHMConsumer.InPortSHMConsumer, OpenRTM_aist.OutPortCorbaCdrConsumer.OutPortCorbaCdrConsumer, OpenRTM_aist.OutPortCSPConsumer.OutPortCSPConsumer, OpenRTM_aist.OutPortDSConsumer.OutPortDSConsumer, OpenRTM_aist.OutPortSHMConsumer.OutPortSHMConsumerで再実装されています。
|
protected |
ObjectType 型のオブジェクトのリファレンスを取得
ObjectType に narrow済みのオブジェクトのリファレンスを取得する。 オブジェクトリファレンスを使用するには、setObject() でセット済みで なければならない。 オブジェクトがセットされていなければ nil オブジェクトリファレンスが 返される。
self |
OpenRTM_aist.CorbaConsumer.CorbaConsumer.equal | ( | self, | |
consumer ) |
OpenRTM_aist.CorbaConsumer.CorbaConsumer.releaseObject | ( | self | ) |
CORBAオブジェクトの設定をクリアする
設定されている CORBA オブジェクトをクリアする。 CORBAオブジェクトそのものに対しては何も操作しない。
self |
OpenRTM_aist.CorbaConsumer.CorbaConsumer.setObject | ( | self, | |
obj ) |
オブジェクトをセットする
ConsumerBase のオーバーライド。CORBA.Object_var にオブジェクトをセット するとともに、パラメータの型で narrow したオブジェクトを保持する。
self | |
obj | CORBA Objecct |
OpenRTM_aist.CorbaConsumer.CorbaConsumerBaseを再実装しています。
OpenRTM_aist.InPortSHMConsumer.InPortSHMConsumer, OpenRTM_aist.OutPortSHMConsumer.OutPortSHMConsumerで再実装されています。