|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.aist.rtm.RTC.port.CorbaConsumerBase
jp.go.aist.rtm.RTC.port.CorbaConsumer<OutPortAny>
jp.go.aist.rtm.RTC.port.OutPortCorbaConsumer<DataType>
DataType
- データ型を指定します。public class OutPortCorbaConsumer<DataType>
CORBAを通信手段とする出力ポートコンシューマの実装です。
フィールドの概要 |
---|
クラス jp.go.aist.rtm.RTC.port.CorbaConsumer から継承されたフィールド |
---|
m_var |
クラス jp.go.aist.rtm.RTC.port.CorbaConsumerBase から継承されたフィールド |
---|
m_objref |
コンストラクタの概要 | |
---|---|
OutPortCorbaConsumer(java.lang.Class<DataType> DATA_TYPE_CLASS,
BufferBase<DataType> buffer)
コンストラクタです。 |
メソッドの概要 | |
---|---|
boolean |
get(DataRef<DataType> dataRef)
データを読み出します。 |
ReturnCode |
get(org.omg.CORBA.portable.OutputStream data)
Pure virtual function to receive data. |
void |
init(Properties prop)
Initializing configuration This operation would be called to configure in initialization. |
void |
pull()
接続先のポートからデータを受信します。 |
void |
setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
Setting outside buffer's pointer A pointer to a buffer from which OutPortProvider retrieve data. |
boolean |
subscribeInterface(NVListHolder properties)
指定されたプロパティセットの内容に基づいて、データ受信通知の受け取りに登録します。 |
void |
unsubscribeInterface(NVListHolder properties)
データ受信通知の受け取り登録を解除します。 |
クラス jp.go.aist.rtm.RTC.port.CorbaConsumer から継承されたメソッド |
---|
_ptr, releaseObject, setObject |
クラス jp.go.aist.rtm.RTC.port.CorbaConsumerBase から継承されたメソッド |
---|
getObject |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public OutPortCorbaConsumer(java.lang.Class<DataType> DATA_TYPE_CLASS, BufferBase<DataType> buffer)
コンストラクタです。
DATA_TYPE_CLASS
- 型パラメータで指定したデータ型のClassオブジェクトbuffer
- 割り当てるバッファメソッドの詳細 |
---|
public boolean get(DataRef<DataType> dataRef)
データを読み出します。
dataRef
- 読み出したデータを受け取るためのDataRefオブジェクトpublic void pull()
接続先のポートからデータを受信します。受信したデータは、内部のバッファに書き込まれます。
public boolean subscribeInterface(NVListHolder properties)
指定されたプロパティセットの内容に基づいて、データ受信通知の受け取りに登録します。
OutPortConsumer
内の subscribeInterface
properties
- 登録時に参照される情報
public void unsubscribeInterface(NVListHolder properties)
データ受信通知の受け取り登録を解除します。
OutPortConsumer
内の unsubscribeInterface
properties
- 登録解除時に参照される情報public void init(Properties prop)
OutPortConsumer
の記述: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.
OutPortConsumer
内の init
prop
- Configuration informationpublic void setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
OutPortConsumer
の記述: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.
OutPortConsumer
内の setBuffer
buffer
- A pointer to a data buffer to be used by OutPortProviderpublic ReturnCode get(org.omg.CORBA.portable.OutputStream data)
OutPortConsumer
の記述:Pure virtual function to receive data.
OutPortConsumer
内の get
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |