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

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.port.ConnectorBase
      上位を拡張 jp.go.aist.rtm.RTC.port.InPortConnector
          上位を拡張 jp.go.aist.rtm.RTC.port.InPortPushConnector

public class InPortPushConnector
extends InPortConnector


入れ子のクラスの概要
 
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース
ConnectorBase.Profile
 
フィールドの概要
 
クラス jp.go.aist.rtm.RTC.port.InPortConnector から継承されたフィールド
m_buffer, m_profile, rtcout
 
コンストラクタの概要
InPortPushConnector(ConnectorBase.Profile profile, InPortProvider provider, BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Constructor InPortPushConnector assume ownership of InPortConsumer.
 
メソッドの概要
 void activate()
           
protected  ReturnCode convertReturn(ReturnCode status)
           convertReturn
protected  BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.Profile profile)
           
 void deactivate()
           
 ReturnCode disconnect()
           disconnect This operation destruct and delete the consumer, the publisher and the buffer.
 ReturnCode read(DataRef<org.omg.CORBA.portable.OutputStream> data)
           Reading data Read data from the buffer.
 
クラス jp.go.aist.rtm.RTC.port.InPortConnector から継承されたメソッド
getBuffer, id, name, profile
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

InPortPushConnector

public InPortPushConnector(ConnectorBase.Profile profile,
                           InPortProvider provider,
                           BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
                    throws java.lang.Exception

Constructor

InPortPushConnector assume ownership of InPortConsumer.

Therefore, InPortConsumer will be deleted when InPortPushConnector

is destructed.

パラメータ:
profile - ConnectorProfile
provider - InPortProvider
buffer -
例外:
java.lang.Exception
メソッドの詳細

read

public ReturnCode read(DataRef<org.omg.CORBA.portable.OutputStream> data)

Reading data

Read data from the buffer.

定義:
クラス InPortConnector 内の read
パラメータ:
data -
戻り値:
ReturnCode

disconnect

public ReturnCode disconnect()

disconnect

This operation destruct and delete the consumer, the publisher and the buffer.

定義:
クラス InPortConnector 内の disconnect

activate

public void activate()
定義:
クラス ConnectorBase 内の activate

deactivate

public void deactivate()
定義:
クラス ConnectorBase 内の deactivate

createBuffer

protected BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.Profile profile)

convertReturn

protected ReturnCode convertReturn(ReturnCode status)

convertReturn