jp.go.aist.rtm.RTC.port
クラス DataInPort<DataType>

java.lang.Object
  上位を拡張 org.omg.PortableServer.Servant
      上位を拡張 RTC.PortServicePOA
          上位を拡張 jp.go.aist.rtm.RTC.port.PortBase
              上位を拡張 jp.go.aist.rtm.RTC.port.DataInPort<DataType>
型パラメータ:
DataType - データ型を指定します。
すべての実装されたインタフェース:
SDOServiceOperations, org.omg.CORBA.portable.InvokeHandler, PortServiceOperations

public class DataInPort<DataType>
extends PortBase

データ入力ポートの実装クラスです。


入れ子のクラスの概要
 
クラス jp.go.aist.rtm.RTC.port.PortBase から継承された入れ子のクラス/インタフェース
PortBase.connect_func, PortBase.disconnect_all_func, PortBase.disconnect_func, PortBase.find_conn_id, PortBase.find_interface, PortBase.find_port_ref
 
フィールドの概要
 
クラス jp.go.aist.rtm.RTC.port.PortBase から継承されたフィールド
m_objref, m_onConnected, m_onConnectionLost, m_onDisconnected, m_onPublishInterfaces, m_onSubscribeInterfaces, m_onUnsubscribeInterfaces, m_profile, m_profile_mutex, rtcout
 
コンストラクタの概要
DataInPort(java.lang.Class<DataType> DATA_TYPE_CLASS, java.lang.String name, InPort<DataType> inPort, Properties prop)
          コンストラクタです。
 
メソッドの概要
 void activateInterfaces()
           Activate all Port interfaces
 void deactivateInterfaces()
           Deactivate all Port interfaces
protected  ReturnCode_t publishInterfaces(ConnectorProfileHolder connector_profile)
          Interface情報を公開します。
protected  ReturnCode_t subscribeInterfaces(ConnectorProfileHolder connector_profile)
          Interfaceに接続します。
protected  void unsubscribeInterfaces(ConnectorProfile connector_profile)
          Interfaceへの接続を解除します。
 
クラス jp.go.aist.rtm.RTC.port.PortBase から継承されたメソッド
_this, addProperty, appendInterface, appendProperty, connect, connectNext, deleteInterface, disconnect_all, disconnect, disconnectNext, eraseConnectorProfile, findConnProfile, findConnProfileIndex, get_connector_profile, get_connector_profiles, get_port_profile, getPortProfile, getPortRef, getProfile, getUUID, isEmptyId, isExistingConnId, notify_connect, notify_disconnect, setName, setOnConnected, setOnConnectionLost, setOnDisconnected, setOnPublishInterfaces, setOnSubscribeInterfaces, setOnUnsubscribeInterfaces, setOwner, setPortRef, setUUID, updateConnectorProfile
 
クラス RTC.PortServicePOA から継承されたメソッド
_all_interfaces, _invoke, _this
 
クラス org.omg.PortableServer.Servant から継承されたメソッド
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

DataInPort

public DataInPort(java.lang.Class<DataType> DATA_TYPE_CLASS,
                  java.lang.String name,
                  InPort<DataType> inPort,
                  Properties prop)
           throws java.lang.Exception

コンストラクタです。

パラメータ:
DATA_TYPE_CLASS - 型パラメータ<DataType>で指定したクラスのClassオブジェクト
name - ポート名称
inPort - 当該データ入力ポートに関連付けるInPortオブジェクト
例外:
java.lang.Exception
メソッドの詳細

publishInterfaces

protected ReturnCode_t publishInterfaces(ConnectorProfileHolder connector_profile)

Interface情報を公開します。このPortが所有しているプロバイダ(Provider)に関する情報を、 ConnectorProfile#propertiesに代入します。

定義:
クラス PortBase 内の publishInterfaces
パラメータ:
connector_profile - プロバイダ(Provider)に関する情報を受け取るホルダオブジェクト
戻り値:
ReturnCode_t 戻り値

subscribeInterfaces

protected ReturnCode_t subscribeInterfaces(ConnectorProfileHolder connector_profile)

Interfaceに接続します。Portが所有するConsumerに適合するProviderに関する情報を ConnectorProfile#propertiesから抽出し、ConsumerにCORBAオブジェクト参照を設定します。

定義:
クラス PortBase 内の subscribeInterfaces
パラメータ:
connector_profile - 接続プロファイルオブジェクト
戻り値:
ReturnCode_t 戻り値

unsubscribeInterfaces

protected void unsubscribeInterfaces(ConnectorProfile connector_profile)

Interfaceへの接続を解除します。 与えられたConnectorProfileに関連するConsumerに設定された全てのObjectを解放し接続を解除します。

定義:
クラス PortBase 内の unsubscribeInterfaces
パラメータ:
connector_profile - 接続プロファイルオブジェクト

activateInterfaces

public void activateInterfaces()

Activate all Port interfaces

定義:
クラス PortBase 内の activateInterfaces

deactivateInterfaces

public void deactivateInterfaces()

Deactivate all Port interfaces

定義:
クラス PortBase 内の deactivateInterfaces