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.ConnectorInfo, ConnectorBase.ConnectorInfoHolder
 
フィールドの概要
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_isLittleEndian, m_profile, rtcout
 
コンストラクタの概要
OutPortPullConnector(ConnectorBase.ConnectorInfo profile, OutPortProvider provider, ConnectorListeners listeners)
           
OutPortPullConnector(ConnectorBase.ConnectorInfo profile, OutPortProvider provider, ConnectorListeners listeners, BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
           Constructor OutPortPullConnector assume ownership of InPortConsumer.
 
メソッドの概要
 void activate()
           Connector activation This operation activates this connector
protected  BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.ConnectorInfo profile)
           create buffer
 void deactivate()
           Connector deactivation This operation deactivates this connector
 ReturnCode disconnect()
          接続解除 consumer, publisher, buffer が解体・削除される。
 BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
           Getting Buffer This operation returns this connector's buffer
protected  void onConnect()
           Invoke callback when connection is established
protected  void onDisconnect()
          接続切断時にコールバックを呼ぶ
 void setOutPortBase(OutPortBase outportbase)
           
<DataType> ReturnCode
write(DataType 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, isLittleEndian, name, profile, setEndian
 
クラス 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.ConnectorInfo profile,
                            OutPortProvider provider,
                            ConnectorListeners listeners,
                            BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
                     throws java.lang.Exception

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
例外:
java.lang.Exception

OutPortPullConnector

public OutPortPullConnector(ConnectorBase.ConnectorInfo profile,
                            OutPortProvider provider,
                            ConnectorListeners listeners)
                     throws java.lang.Exception
例外:
java.lang.Exception
メソッドの詳細

write

public <DataType> ReturnCode write(DataType 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()
接続解除

consumer, publisher, buffer が解体・削除される。

定義:
クラス OutPortConnector 内の disconnect

getBuffer

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

Getting Buffer

This operation returns this connector's buffer

定義:
クラス OutPortConnector 内の getBuffer

createBuffer

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

create buffer


onConnect

protected void onConnect()

Invoke callback when connection is established


onDisconnect

protected void onDisconnect()
接続切断時にコールバックを呼ぶ


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

setOutPortBase

public void setOutPortBase(OutPortBase outportbase)
定義:
クラス OutPortConnector 内の setOutPortBase