jp.go.aist.rtm.RTC.port
Interface OutPortProvider

All Known Implementing Classes:
OutPortCorbaCdrProvider

public interface OutPortProvider

OutPortに対して何を提供しているかを宣言するインタフェースです。


Method Summary
 void init(Properties prop)
           Initializing configuration
 boolean publishInterface(NVListHolder properties)
          Interface情報を公開します。
 void publishInterfaceProfile(NVListHolder properties)
          InterfaceProfile情報を公開します。 引数で指定するホルダ内のNameValueオブジェクトのdataport.interface_type値を調べ、 当該ポートのインタフェースタイプと一致する場合のみ情報が取得されます。
 void setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Setting outside buffer's pointer
 void setConnector(OutPortConnector connector)
           setting Connector
 void setListener(ConnectorBase.ConnectorInfo info, ConnectorListeners listeners)
           Set the listener.
 

Method Detail

publishInterfaceProfile

void publishInterfaceProfile(NVListHolder properties)

InterfaceProfile情報を公開します。 引数で指定するホルダ内のNameValueオブジェクトのdataport.interface_type値を調べ、 当該ポートのインタフェースタイプと一致する場合のみ情報が取得されます。

Parameters:
properties - Interface情報を受け取るホルダオブジェクト

publishInterface

boolean publishInterface(NVListHolder properties)

Interface情報を公開します。

Parameters:
properties - InterfaceProfile情報を受け取るホルダオブジェクト
Returns:
boolean

init

void init(Properties prop)

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.

Parameters:
prop - Configuration information

setBuffer

void setBuffer(BufferBase<org.omg.CORBA.portable.OutputStream> buffer)

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.

Parameters:
buffer - A pointer to a data buffer to be used by OutPortProvider

setListener

void setListener(ConnectorBase.ConnectorInfo info,
                 ConnectorListeners listeners)

Set the listener.


setConnector

void setConnector(OutPortConnector connector)

setting Connector

Parameters:
connector -