OpenRTM-aist-Python 2.0.2
OpenRTM_aist.ByteDataStreamBase.SerializerFactories クラス

[詳解]

公開メンバ関数

 __init__ (self)
 
 __del__ (self)
 
 addSerializer (self, marshalingtype, serializer, datatype)
 
 addSerializerGlobal (self, marshalingtype, serializer)
 
 removeSerializer (self, marshalingtype, datatype)
 
 removeSerializerGlobal (self, marshalingtype)
 
 createSerializer (self, marshalingtype, datatype=None)
 
 getSerializerList (self, datatype)
 

詳解

シリアライザ生成ファクトリの一覧を操作するクラス

構築子と解体子

◆ __init__()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.__init__ ( self)

コンストラクタ

コンストラクタ

引数
self

◆ __del__()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.__del__ ( self)

デストラクタ

引数
self

メソッド詳解

◆ addSerializer()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.addSerializer ( self,
marshalingtype,
serializer,
datatype )

シリアライザの登録(データ型ごと)

引数
self
marshalingtypeシリアライザの種類(文字列)
serializerシリアライザを定義したクラス
datatype対象のデータ型のインスタンス、もしくはクラス
self

◆ addSerializerGlobal()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.addSerializerGlobal ( self,
marshalingtype,
serializer )

シリアライザの登録(グローバル) 基本的にシリアライザはデータ型ごとに追加するが、 CORBA CDR形式のシリアライザのように全てのデータ型で共通の 処理を行う場合はグローバルにシリアライザを登録できる。 特定のデータ型から特定のROSメッセージ型への変換が必要などという 場合はデータ型ごとの登録が必要である。

引数
self
marshalingtypeシリアライザの種類(文字列)
serializerシリアライザを定義したクラス
self

◆ createSerializer()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.createSerializer ( self,
marshalingtype,
datatype = None )

シリアライザの生成

引数
self
marshalingtypeシリアライザの種類(文字列)
datatype対象のデータ型のインスタンス、もしくはクラス
self

◆ getSerializerList()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.getSerializerList ( self,
datatype )

使用可能なシリアライザ一覧の取得

引数
self
datatype対象のデータ型のインスタンス、もしくはクラス
self

◆ removeSerializer()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.removeSerializer ( self,
marshalingtype,
datatype )

シリアライザの登録解除(データ型ごと)

引数
self
marshalingtypeシリアライザの種類(文字列)
datatype対象のデータ型のインスタンス、もしくはクラス
self

◆ removeSerializerGlobal()

OpenRTM_aist.ByteDataStreamBase.SerializerFactories.removeSerializerGlobal ( self,
marshalingtype )

シリアライザの登録解除(グローバル)

引数
self
marshalingtypeシリアライザの種類(文字列)
self

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