|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.omg.PortableServer.Servant
RTC.OutPortAnyPOA
jp.go.aist.rtm.RTC.port.OutPortCorbaProvider<DataType>
DataType
- データ型を指定します。public class OutPortCorbaProvider<DataType>
CORBAを通信手段とする出力ポートプロバイダの実装です。
コンストラクタの概要 | |
---|---|
OutPortCorbaProvider(java.lang.Class<DataType> DATA_TYPE_CLASS,
BufferBase<DataType> buffer)
コンストラクタです。 |
メソッドの概要 | |
---|---|
OutPortAny |
_this()
当該プロバイダのCORBAオブジェクト参照を取得します。 |
org.omg.CORBA.Any |
get()
内部バッファからデータを読み出します。 |
void |
init(Properties prop)
Initializing configuration This operation would be called to configure in initialization. |
boolean |
publishInterface(NVListHolder properties)
接続プロファイルを取得します。 |
void |
publishInterfaceProfile(NVListHolder properties)
インタフェースプロファイルを取得します。 |
void |
setBuffer(BufferBase<org.omg.CORBA.portable.InputStream> buffer)
Setting outside buffer's pointer A pointer to a buffer from which OutPortProvider retrieve data. |
クラス RTC.OutPortAnyPOA から継承されたメソッド |
---|
_all_interfaces, _invoke, _this |
クラス org.omg.PortableServer.Servant から継承されたメソッド |
---|
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public OutPortCorbaProvider(java.lang.Class<DataType> DATA_TYPE_CLASS, BufferBase<DataType> buffer) throws java.lang.Exception
コンストラクタです。
DATA_TYPE_CLASS
- 型パラメータで指定したデータ型のClassオブジェクトbuffer
- 当該プロバイダに割り当てるバッファ
java.lang.Exception
メソッドの詳細 |
---|
public OutPortAny _this()
当該プロバイダのCORBAオブジェクト参照を取得します。
OutPortAnyPOA
内の _this
public org.omg.CORBA.Any get()
内部バッファからデータを読み出します。
OutPortAnyOperations
内の get
public void publishInterfaceProfile(NVListHolder properties)
インタフェースプロファイルを取得します。
OutPortProvider
内の publishInterfaceProfile
properties
- インタフェースプロファイルを受け取るNVListHolderオブジェクトpublic boolean publishInterface(NVListHolder properties)
接続プロファイルを取得します。指定されたNVListHolder内に保持されている インタフェースタイプと照合して、タイプが一致する場合にのみ取得されます。
OutPortProvider
内の publishInterface
properties
- 接続プロファイルを受け取るNVListHolderオブジェクトを指定します。
あらかじめ、dataport.interface_typeにインタフェースタイプを設定しておく必要があります。
public void setBuffer(BufferBase<org.omg.CORBA.portable.InputStream> buffer)
OutPortProvider
の記述:Setting outside buffer's pointer
A pointer to a buffer from which OutPortProvider retrieve data.
If already buffer is set, previous buffer's pointer will be
overwritten by the given pointer to a buffer. Since
OutPortProvider does not assume ownership of the buffer
pointer, destructor of the buffer should be done by user.
OutPortProvider
内の setBuffer
buffer
- A pointer to a data buffer to be used by OutPortProviderpublic void init(Properties prop)
OutPortProvider
の記述:Initializing configuration
This operation would be called to configure in initialization.
In the concrete class, configuration should be performed
getting appropriate information from the given Properties data.
This function might be called right after instantiation and
connection sequence respectivly. Therefore, this function
should be implemented assuming multiple call.
OutPortProvider
内の init
prop
- Configuration information
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |