|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.go.aist.rtm.RTC.port.ConnectorBase
jp.go.aist.rtm.RTC.port.OutPortConnector
jp.go.aist.rtm.RTC.port.OutPortPushConnector
public class OutPortPushConnector
入れ子のクラスの概要 |
---|
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース |
---|
ConnectorBase.ConnectorInfo, ConnectorBase.ConnectorInfoHolder |
フィールドの概要 | |
---|---|
(package private) ConnectorListeners |
m_listeners
A reference to a ConnectorListener |
クラス jp.go.aist.rtm.RTC.port.OutPortConnector から継承されたフィールド |
---|
m_isLittleEndian, m_profile, rtcout |
コンストラクタの概要 | |
---|---|
OutPortPushConnector(ConnectorBase.ConnectorInfo profile,
ConnectorListeners listeners,
InPortConsumer consumer)
|
|
OutPortPushConnector(ConnectorBase.ConnectorInfo profile,
InPortConsumer consumer,
ConnectorListeners listeners,
BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
コンストラクタ {@.ja OutPortPushConnector のコンストラクタはオブジェクト生成時に下記 を引数にとる。 |
メソッドの概要 | ||
---|---|---|
void |
activate()
Connector activation This operation activates this connector |
|
protected BufferBase<org.omg.CORBA.portable.OutputStream> |
createBuffer(ConnectorBase.ConnectorInfo profile)
create buffer |
|
protected PublisherBase |
createPublisher(ConnectorBase.ConnectorInfo profile)
create publisher |
|
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)
|
|
|
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 |
フィールドの詳細 |
---|
ConnectorListeners m_listeners
A reference to a ConnectorListener
コンストラクタの詳細 |
---|
public OutPortPushConnector(ConnectorBase.ConnectorInfo profile, InPortConsumer consumer, ConnectorListeners listeners, BufferBase<org.omg.CORBA.portable.OutputStream> buffer) throws java.lang.Exception
OutPortPushConnector のコンストラクタはオブジェクト生成時に下記 を引数にとる。ConnectorInfo は接続情報を含み、この情報に従いパブ リッシャやバッファ等を生成する。InPort インターフェースに対する コンシューマオブジェクトへのポインタを取り、所有権を持つので、 OutPortPushConnector は InPortConsumer の解体責任を持つ。各種イ ベントに対するコールバック機構を提供する ConnectorListeners を持 ち、適切なタイミングでコールバックを呼び出す。データバッファがも し OutPortBase から提供される場合はそのポインタを取る。
profile
- ConnectorInfo
consumer
- InPortConsumer
listeners
- ConnectorListeners 型のリスナオブジェクトリスト
buffer
- CdrBufferBase 型のバッファ
java.lang.Exception
public OutPortPushConnector(ConnectorBase.ConnectorInfo profile, ConnectorListeners listeners, InPortConsumer consumer) throws java.lang.Exception
java.lang.Exception
メソッドの詳細 |
---|
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
-
public ReturnCode disconnect()
consumer, publisher, buffer が解体・削除される。
OutPortConnector
内の disconnect
public void activate()
Connector activation
This operation activates this connector
ConnectorBase
内の activate
public BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
Getting Buffer
This operation returns this connector's buffer
OutPortConnector
内の getBuffer
public void setOutPortBase(OutPortBase outportbase)
OutPortConnector
内の setOutPortBase
public void deactivate()
Connector deactivation
This operation deactivates this connector
ConnectorBase
内の deactivate
protected PublisherBase createPublisher(ConnectorBase.ConnectorInfo profile)
create publisher
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()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |