|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.aist.rtm.RTC.port.ConnectorBase
jp.go.aist.rtm.RTC.port.InPortConnector
jp.go.aist.rtm.RTC.port.InPortPullConnector
public class InPortPullConnector
InPortPullConnector
InPortPullConnector base class
A connector class for pull type dataflow of InPort
入れ子のクラスの概要 |
---|
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース |
---|
ConnectorBase.ConnectorInfo, ConnectorBase.ConnectorInfoHolder |
フィールドの概要 |
---|
クラス jp.go.aist.rtm.RTC.port.InPortConnector から継承されたフィールド |
---|
m_buffer, m_isLittleEndian, m_orb, m_profile, m_spi_orb |
コンストラクタの概要 | |
---|---|
InPortPullConnector(ConnectorBase.ConnectorInfo profile,
OutPortConsumer consumer,
ConnectorListeners listeners,
BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
コンストラクタ. |
メソッドの概要 | |
---|---|
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()
接続解除関数 Connector が保持している接続を解除する |
protected void |
onConnect()
Invoke callback when connection is established |
protected void |
onDisconnect()
接続切断時にコールバックを呼ぶ |
ReturnCode |
read(DataRef<org.omg.CORBA.portable.InputStream> data)
Destructor The read function to read data from buffer to InPort |
void |
setListener(ConnectorBase.ConnectorInfo profile,
ConnectorListeners listeners)
|
クラス jp.go.aist.rtm.RTC.port.InPortConnector から継承されたメソッド |
---|
getBuffer, id, isLittleEndian, name, profile, setEndian |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public InPortPullConnector(ConnectorBase.ConnectorInfo profile, OutPortConsumer consumer, ConnectorListeners listeners, BufferBase<org.omg.CORBA.portable.OutputStream> buffer) throws java.lang.Exception
InPortPullConnector のコンストラクタはオブジェクト生成時に下記 を引数にとる。ConnectorInfo は接続情報を含み、この情報に従いバッ ファ等を生成する。OutPort インターフェースのプロバイダオブジェク トへのポインタを取り、所有権を持つので、InPortPullConnector は OutPortConsumer の解体責任を持つ。各種イベントに対するコールバッ ク機構を提供する ConnectorListeners を持ち、適切なタイミングでコー ルバックを呼び出す。データバッファがもし InPortBase から提供さ れる場合はそのポインタを取る。
profile
- ConnectorInfo
consumer
- OutPortConsumer
listeners
- ConnectorListeners 型のリスナオブジェクトリスト
buffer
- CdrBufferBase 型のバッファ
java.lang.Exception
メソッドの詳細 |
---|
public ReturnCode read(DataRef<org.omg.CORBA.portable.InputStream> data)
Destructor
The read function to read data from buffer to InPort
InPortConnector
内の read
public ReturnCode disconnect()
Connector が保持している接続を解除する
InPortConnector
内の disconnect
public void activate()
Connector activation
This operation activates this connector
ConnectorBase
内の activate
public void deactivate()
Connector deactivation
This operation deactivates this connector
ConnectorBase
内の deactivate
protected BufferBase<org.omg.CORBA.portable.OutputStream> createBuffer(ConnectorBase.ConnectorInfo profile)
create buffer
protected void onConnect()
Invoke callback when connection is established
protected void onDisconnect()
public void setListener(ConnectorBase.ConnectorInfo profile, ConnectorListeners listeners)
InPortConnector
内の setListener
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |