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

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

public class OutPortPullConnector
extends OutPortConnector


入れ子のクラスの概要
 
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース
ConnectorBase.Profile
 
フィールドの概要
protected  BufferBase<org.omg.CORBA.portable.OutputStream> m_buffer
           the pointer to the buffer
protected  OutPortProvider m_provider
           the pointer to the OutPortProvider
 
クラス jp.go.aist.rtm.RTC.port.OutPortConnector から継承されたフィールド
m_profile, rtcout
 
コンストラクタの概要
OutPortPullConnector(ConnectorBase.Profile profile, OutPortProvider provider)
           
OutPortPullConnector(ConnectorBase.Profile profile, OutPortProvider provider, BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Constructor OutPortPullConnector assume ownership of InPortConsumer.
 
メソッドの概要
 void activate()
           Connector activation This operation activates this connector
 void deactivate()
           Connector deactivation This operation deactivates this connector
 ReturnCode disconnect()
           disconnect This operation destruct and delete the consumer, the publisher and the buffer.
 BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
           Getting Buffer This operation returns this connector's buffer
 ReturnCode write(org.omg.CORBA.portable.OutputStream data)
           Writing data This operation writes data into publisher and then the data will be transferred to correspondent InPort.
 
クラス jp.go.aist.rtm.RTC.port.OutPortConnector から継承されたメソッド
id, name, profile
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

m_provider

protected OutPortProvider m_provider

the pointer to the OutPortProvider


m_buffer

protected BufferBase<org.omg.CORBA.portable.OutputStream> m_buffer

the pointer to the buffer

コンストラクタの詳細

OutPortPullConnector

public OutPortPullConnector(ConnectorBase.Profile profile,
                            OutPortProvider provider,
                            BufferBase<org.omg.CORBA.portable.OutputStream> buffer)

Constructor

OutPortPullConnector assume ownership of InPortConsumer.

Therefore, OutPortProvider will be deleted when OutPortPushConnector

is destructed.

パラメータ:
profile - pointer to a ConnectorProfile
provider - pointer to an OutPortProvider
buffer - pointer to a buffer

OutPortPullConnector

public OutPortPullConnector(ConnectorBase.Profile profile,
                            OutPortProvider provider)
メソッドの詳細

write

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

Writing data

This operation writes data into publisher and then the data

will be transferred to correspondent InPort.

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

disconnect

public ReturnCode disconnect()

disconnect

This operation destruct and delete the consumer, the publisher

and the buffer.

定義:
クラス OutPortConnector 内の disconnect
戻り値:
ReturnCode

getBuffer

public BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()

Getting Buffer

This operation returns this connector's buffer

定義:
クラス OutPortConnector 内の getBuffer

activate

public void activate()

Connector activation

This operation activates this connector

定義:
クラス ConnectorBase 内の activate

deactivate

public void deactivate()

Connector deactivation

This operation deactivates this connector

定義:
クラス ConnectorBase 内の deactivate