jp.go.aist.rtm.RTC.port
クラス OutPortCorbaCdrConsumer

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.port.CorbaConsumerBase
      上位を拡張 jp.go.aist.rtm.RTC.port.CorbaConsumer<OutPortCdr>
          上位を拡張 jp.go.aist.rtm.RTC.port.OutPortCorbaCdrConsumer
すべての実装されたインタフェース:
ObjectCreator<OutPortConsumer>, ObjectDestructor, OutPortConsumer

public class OutPortCorbaCdrConsumer
extends CorbaConsumer<OutPortCdr>
implements OutPortConsumer, ObjectCreator<OutPortConsumer>, ObjectDestructor

OutPortCorbaCdrConsumer

OutPortCorbaCdrConsumer class

This is an implementation class of the output Consumer

that uses CORBA for means of communication.


フィールドの概要
 
クラス jp.go.aist.rtm.RTC.port.CorbaConsumer から継承されたフィールド
m_var
 
クラス jp.go.aist.rtm.RTC.port.CorbaConsumerBase から継承されたフィールド
m_objref
 
コンストラクタの概要
OutPortCorbaCdrConsumer()
           
 
メソッドの概要
protected  ReturnCode convertReturn(PortStatus status)
           convertReturn
 OutPortConsumer creator_()
           creator_
 void destructor_(java.lang.Object obj)
           destructor_
 ReturnCode get(org.omg.CORBA.portable.OutputStream data)
           Read data
 void init(Properties prop)
           Initializing configuration This operation would be called to configure in initialization.
static void OutPortCorbaCdrConsumerInit()
           OutPortCorbaCdrConsumerInit
 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)
           Subscribe the data receive notification Subscribe the data receive notification based on specified property information
 void unsubscribeInterface(NVListHolder properties)
           Unsubscribe the data receive notification Unsubscribe the data receive notification.
 
クラス 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
 

コンストラクタの詳細

OutPortCorbaCdrConsumer

public OutPortCorbaCdrConsumer()
メソッドの詳細

init

public 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.

定義:
インタフェース OutPortConsumer 内の init
パラメータ:
prop - Configuration information

setBuffer

public 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.

定義:
インタフェース OutPortConsumer 内の setBuffer
パラメータ:
buffer - A pointer to a data buffer to be used by OutPortProvider

get

public ReturnCode get(org.omg.CORBA.portable.OutputStream data)

Read data

定義:
インタフェース OutPortConsumer 内の get
パラメータ:
data - Object to receive the read data
戻り値:
Read result (Successful:true, Failed:false)

subscribeInterface

public boolean subscribeInterface(NVListHolder properties)

Subscribe the data receive notification

Subscribe the data receive notification based on specified property

information

定義:
インタフェース OutPortConsumer 内の subscribeInterface
パラメータ:
properties - Subscription information
戻り値:
Subscription result (Successful:true, Failed:false)

unsubscribeInterface

public void unsubscribeInterface(NVListHolder properties)

Unsubscribe the data receive notification

Unsubscribe the data receive notification.

定義:
インタフェース OutPortConsumer 内の unsubscribeInterface
パラメータ:
properties - Unsubscription information

convertReturn

protected ReturnCode convertReturn(PortStatus status)

convertReturn


creator_

public OutPortConsumer creator_()

creator_

定義:
インタフェース ObjectCreator<OutPortConsumer> 内の creator_
戻り値:
Object Created instances

destructor_

public void destructor_(java.lang.Object obj)

destructor_

定義:
インタフェース ObjectDestructor 内の destructor_
パラメータ:
obj - The target instances for destruction

OutPortCorbaCdrConsumerInit

public static void OutPortCorbaCdrConsumerInit()

OutPortCorbaCdrConsumerInit