|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.omg.PortableServer.Servant
RTC.PortServicePOA
jp.go.aist.rtm.RTC.port.PortBase
jp.go.aist.rtm.RTC.port.InPortBase
public class InPortBase
InPortBase
Port for InPort
This is an implementation class for the data input port.
入れ子のクラスの概要 |
---|
クラス 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 |
フィールドの概要 | |
---|---|
protected java.util.Vector<InPortConnector> |
m_connectors
|
protected java.util.Vector<java.lang.String> |
m_consumerTypes
|
protected Properties |
m_properties
|
protected java.util.Vector<java.lang.String> |
m_providerTypes
|
protected boolean |
m_singlebuffer
|
protected BufferBase<org.omg.CORBA.portable.OutputStream> |
m_thebuffer
|
クラス 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 |
コンストラクタの概要 | |
---|---|
InPortBase(java.lang.String name,
java.lang.String data_type)
Constructor |
メソッドの概要 | |
---|---|
void |
activateInterfaces()
Activate all Port interfaces This operation activate all interfaces that is registered in the ports. |
protected InPortConnector |
createConnector(ConnectorProfileHolder cprof,
Properties prop,
InPortProvider provider)
InPortPushConnector creation Connector is created, preserves it in m_connectors. |
protected InPortConnector |
createConnector(ConnectorProfileHolder cprof,
Properties prop,
OutPortConsumer consumer)
InPortPullConnector creation Connector is created, preserves it in m_connectors. |
protected OutPortConsumer |
createConsumer(ConnectorProfileHolder cprof,
Properties prop)
InPort provider creation OutPortConsumer is created. |
protected InPortProvider |
createProvider(ConnectorProfileHolder cprof,
Properties prop)
InPort provider creation InPortProvider is created, and information is published to ConnectorProfile. |
void |
deactivateInterfaces()
Deactivate all Port interfaces This operation deactivate all interfaces that is registered in the ports. |
void |
init()
init |
protected void |
initConsumers()
OutPort consumer initialization |
protected void |
initProviders()
InPort provider initialization |
boolean |
isLittleEndian()
|
Properties |
properties()
|
protected ReturnCode_t |
publishInterfaces(ConnectorProfileHolder cprof)
Publish interface information Publish interface information. |
protected ReturnCode_t |
subscribeInterfaces(ConnectorProfileHolder cprof)
Subscribe to the interface Subscribe to interface. |
protected void |
unsubscribeInterfaces(ConnectorProfile connector_profile)
Disconnect the interface connection Disconnect the interface connection. |
クラス 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 |
フィールドの詳細 |
---|
protected boolean m_singlebuffer
protected BufferBase<org.omg.CORBA.portable.OutputStream> m_thebuffer
protected Properties m_properties
protected java.util.Vector<java.lang.String> m_providerTypes
protected java.util.Vector<java.lang.String> m_consumerTypes
protected java.util.Vector<InPortConnector> m_connectors
コンストラクタの詳細 |
---|
public InPortBase(java.lang.String name, java.lang.String data_type)
Constructor
name
- Port namedata_type
- Specify the data type used in the InPort object.メソッドの詳細 |
---|
public Properties properties()
public void init()
init
public void activateInterfaces()
Activate all Port interfaces
This operation activate all interfaces that is registered in the
ports.
PortBase
内の activateInterfaces
public void deactivateInterfaces()
Deactivate all Port interfaces
This operation deactivate all interfaces that is registered in the
ports.
PortBase
内の deactivateInterfaces
protected ReturnCode_t publishInterfaces(ConnectorProfileHolder cprof)
Publish interface information
Publish interface information.
Assign the Provider information that owned by this port
to ConnectorProfile#properties
PortBase
内の publishInterfaces
cprof
- The connector profile
protected ReturnCode_t subscribeInterfaces(ConnectorProfileHolder cprof)
Subscribe to the interface
Subscribe to interface.
Derive Provider information that matches Consumer owned by the Port
from ConnectorProfile#properties and
set the Consumer to the reference of the CORBA object.
PortBase
内の subscribeInterfaces
cprof
- The connector profile
protected void unsubscribeInterfaces(ConnectorProfile connector_profile)
Disconnect the interface connection
Disconnect the interface connection.
Release all objects set in Consumer associated with
given ConnectorProfile and unscribe the interface.
PortBase
内の unsubscribeInterfaces
connector_profile
- The connector profileprotected void initProviders()
InPort provider initialization
protected void initConsumers()
OutPort consumer initialization
protected InPortProvider createProvider(ConnectorProfileHolder cprof, Properties prop)
InPort provider creation
InPortProvider is created,
and information is published to ConnectorProfile.
null is returned if failing in creation.
protected OutPortConsumer createConsumer(ConnectorProfileHolder cprof, Properties prop)
InPort provider creation
OutPortConsumer is created.
null is returned if failing in creation.
protected InPortConnector createConnector(ConnectorProfileHolder cprof, Properties prop, InPortProvider provider)
InPortPushConnector creation
Connector is created,
preserves it in m_connectors.
null is returned if failing in creation.
protected InPortConnector createConnector(ConnectorProfileHolder cprof, Properties prop, OutPortConsumer consumer)
InPortPullConnector creation
Connector is created,
preserves it in m_connectors.
0 is returned if failing in creation.
public boolean isLittleEndian()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |