|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.omg.PortableServer.Servant
OpenRTM.OutPortCdrPOA
jp.go.aist.rtm.RTC.port.OutPortProviderImpl
public class OutPortProviderImpl
OutPortProviderインタフェースのベース実装クラスです。
フィールドの概要 | |
---|---|
protected NVListHolder |
m_properties
接続プロフィールを保持するメンバ変数です。 |
コンストラクタの概要 | |
---|---|
OutPortProviderImpl()
|
メソッドの概要 | |
---|---|
PortStatus |
get(CdrDataHolder data)
[CORBA interface] Get data from the buffer Get data from the internal buffer. |
void |
init(Properties prop)
Initializing configuration This operation would be called to configure in initialization. |
boolean |
publishInterface(NVListHolder properties)
Interface情報を公開します。 |
void |
publishInterfaceProfile(NVListHolder properties)
InterfaceProfile情報を公開します。 |
void |
setBuffer(BufferBase<org.omg.CORBA.portable.InputStream> buffer)
Setting outside buffer's pointer A pointer to a buffer from which OutPortProvider retrieve data. |
protected void |
setDataFlowType(java.lang.String dataFlowType)
インタフェースプロフィールのデータフロータイプを設定します。 |
protected void |
setDataType(java.lang.String dataType)
インタフェースポロフィールのデータタイプを設定します。 |
protected void |
setInterfaceType(java.lang.String interfaceType)
インタフェースプロフィールのインタフェースタイプを設定します。 |
protected void |
setPortType(java.lang.String portType)
インタフェースプロフィールのポートタイプを設定します。 |
protected void |
setSubscriptionType(java.lang.String subscriptionType)
インタフェースプロフィールのサブスクリプションタイプを設定します。 |
クラス OpenRTM.OutPortCdrPOA から継承されたメソッド |
---|
_all_interfaces, _invoke, _this, _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 |
フィールドの詳細 |
---|
protected NVListHolder m_properties
接続プロフィールを保持するメンバ変数です。
コンストラクタの詳細 |
---|
public OutPortProviderImpl()
メソッドの詳細 |
---|
public void publishInterfaceProfile(NVListHolder properties)
OutPortProvider
の記述:InterfaceProfile情報を公開します。 引数で指定するホルダ内のNameValueオブジェクトのdataport.interface_type値を調べ、 当該ポートのインタフェースタイプと一致する場合のみ情報が取得されます。
OutPortProvider
内の publishInterfaceProfile
properties
- Interface情報を受け取るホルダオブジェクトpublic boolean publishInterface(NVListHolder properties)
OutPortProvider
の記述:Interface情報を公開します。
OutPortProvider
内の publishInterface
properties
- InterfaceProfile情報を受け取るホルダオブジェクト
public 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 informationpublic 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 PortStatus get(CdrDataHolder data)
[CORBA interface] Get data from the buffer
Get data from the internal buffer.
OutPortCdrOperations
内の get
data
-
protected void setPortType(java.lang.String portType)
インタフェースプロフィールのポートタイプを設定します。
portType
- ポートタイプprotected void setDataType(java.lang.String dataType)
インタフェースポロフィールのデータタイプを設定します。
dataType
- データタイプprotected void setInterfaceType(java.lang.String interfaceType)
インタフェースプロフィールのインタフェースタイプを設定します。/p>
interfaceType
- インタフェースタイプprotected void setDataFlowType(java.lang.String dataFlowType)
インタフェースプロフィールのデータフロータイプを設定します。
dataFlowType
- データフロータイプprotected void setSubscriptionType(java.lang.String subscriptionType)
インタフェースプロフィールのサブスクリプションタイプを設定します。
subscriptionType
- サブスクリプションタイプ
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |