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

java.lang.Object
  上位を拡張 jp.go.aist.rtm.RTC.port.ConnectorBase
      上位を拡張 jp.go.aist.rtm.RTC.port.InPortConnector
直系の既知のサブクラス:
InPortPullConnector, InPortPushConnector

public abstract class InPortConnector
extends ConnectorBase

InPortConnector 基底クラス

InPort の Push/Pull 各種 Connector を派生させるための基底クラス。


入れ子のクラスの概要
 
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承された入れ子のクラス/インタフェース
ConnectorBase.ConnectorInfo, ConnectorBase.ConnectorInfoHolder
 
フィールドの概要
protected  BufferBase<org.omg.CORBA.portable.OutputStream> m_buffer
           
protected  boolean m_isLittleEndian
           
protected  org.omg.CORBA.ORB m_orb
           
protected  ConnectorBase.ConnectorInfo m_profile
           
protected  com.sun.corba.se.spi.orb.ORB m_spi_orb
           
protected  Logbuf rtcout
           
 
コンストラクタの概要
InPortConnector(ConnectorBase.ConnectorInfo profile, BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
          コンストラクタ
 
メソッドの概要
abstract  ReturnCode disconnect()
          接続解除関数 Connector が保持している接続を解除する
 BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
          Buffer を取得する Connector が保持している Buffer を返す
 java.lang.String id()
          Connector ID 取得 Connector ID を取得する
 boolean isLittleEndian()
          endian 設定を返す
 java.lang.String name()
          Connector 名取得 Connector 名を取得する
 ConnectorBase.ConnectorInfo profile()
          ConnectorInfo 取得 Connector ConnectorInfo を取得する
abstract  ReturnCode read(DataRef<org.omg.CORBA.portable.InputStream> data)
          read 関数
 void setEndian(boolean isLittleEndian)
          endianタイプ設定 endianタイプを設定する
abstract  void setListener(ConnectorBase.ConnectorInfo profile, ConnectorListeners listeners)
          リスナを設定する。
 
クラス jp.go.aist.rtm.RTC.port.ConnectorBase から継承されたメソッド
activate, deactivate
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

rtcout

protected Logbuf rtcout

m_profile

protected ConnectorBase.ConnectorInfo m_profile

m_buffer

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

m_isLittleEndian

protected boolean m_isLittleEndian

m_spi_orb

protected com.sun.corba.se.spi.orb.ORB m_spi_orb

m_orb

protected org.omg.CORBA.ORB m_orb
コンストラクタの詳細

InPortConnector

public InPortConnector(ConnectorBase.ConnectorInfo profile,
                       BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
コンストラクタ

パラメータ:
profile - 接続情報を含む ConnectorInfo オブジェクト
buffer - このコネクタのバッファへのポインタ
メソッドの詳細

profile

public final ConnectorBase.ConnectorInfo profile()
ConnectorInfo 取得

Connector ConnectorInfo を取得する

定義:
クラス ConnectorBase 内の profile
戻り値:
このコネクタが保持する ConnectorInfo オブジェクト

id

public final java.lang.String id()
Connector ID 取得

Connector ID を取得する

定義:
クラス ConnectorBase 内の id
戻り値:
コネクタ ID 文字列へのポインタ

name

public final java.lang.String name()
Connector 名取得

Connector 名を取得する

定義:
クラス ConnectorBase 内の name
戻り値:
コネクタ名文字列へのポインタ

disconnect

public abstract ReturnCode disconnect()
接続解除関数

Connector が保持している接続を解除する

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

getBuffer

public BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
Buffer を取得する

Connector が保持している Buffer を返す

定義:
クラス ConnectorBase 内の getBuffer
戻り値:
このコネクタが保持するバッファへのポインタ

setEndian

public void setEndian(boolean isLittleEndian)
endianタイプ設定

endianタイプを設定する

パラメータ:
isLittleEndian - true: little, false: big

isLittleEndian

public boolean isLittleEndian()
endian 設定を返す

戻り値:
m_littleEndian がlittleの場合true、bigの場合false を返す。

setListener

public abstract void setListener(ConnectorBase.ConnectorInfo profile,
                                 ConnectorListeners listeners)
リスナを設定する。

パラメータ:
profile - 接続情報
listeners - リスナオブジェクト

read

public abstract ReturnCode read(DataRef<org.omg.CORBA.portable.InputStream> data)
read 関数