|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjp.go.aist.rtm.RTC.port.ConnectorBase
jp.go.aist.rtm.RTC.port.InPortConnector
public abstract class InPortConnector
InPortConnector base class
The base class to derive subclasses for InPort's Push/Pull Connectors
Nested Class Summary |
---|
Nested classes/interfaces inherited from class jp.go.aist.rtm.RTC.port.ConnectorBase |
---|
ConnectorBase.ConnectorInfo, ConnectorBase.ConnectorInfoHolder |
Field Summary | |
---|---|
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
|
Constructor Summary | |
---|---|
InPortConnector(ConnectorBase.ConnectorInfo profile,
BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
Constructor |
Method Summary | |
---|---|
abstract ReturnCode |
disconnect()
Disconnect connection |
BufferBase<org.omg.CORBA.portable.OutputStream> |
getBuffer()
Getting Buffer |
java.lang.String |
id()
Getting Connector ID |
boolean |
isLittleEndian()
Returns endian |
java.lang.String |
name()
Getting Connector name |
ConnectorBase.ConnectorInfo |
profile()
Getting ConnectorInfo |
abstract ReturnCode |
read(DataRef<org.omg.CORBA.portable.InputStream> data)
Reading data |
void |
setEndian(boolean isLittleEndian)
Setting an endian type |
abstract void |
setListener(ConnectorBase.ConnectorInfo profile,
ConnectorListeners listeners)
Set the listener. |
Methods inherited from class jp.go.aist.rtm.RTC.port.ConnectorBase |
---|
activate, deactivate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Logbuf rtcout
protected ConnectorBase.ConnectorInfo m_profile
protected BufferBase<org.omg.CORBA.portable.OutputStream> m_buffer
protected boolean m_isLittleEndian
protected com.sun.corba.se.spi.orb.ORB m_spi_orb
protected org.omg.CORBA.ORB m_orb
Constructor Detail |
---|
public InPortConnector(ConnectorBase.ConnectorInfo profile, BufferBase<org.omg.CORBA.portable.OutputStream> buffer)
profile
-
ConnectorInfo object which includes connection informationbuffer
-
A pointer to the buffer of the connectorMethod Detail |
---|
public final ConnectorBase.ConnectorInfo profile()
This operation returns ConnectorInfo
profile
in class ConnectorBase
public final java.lang.String id()
This operation returns Connector ID
id
in class ConnectorBase
public final java.lang.String name()
This operation returns Connector name
name
in class ConnectorBase
public abstract ReturnCode disconnect()
This operation disconnect this connection
disconnect
in class ConnectorBase
public BufferBase<org.omg.CORBA.portable.OutputStream> getBuffer()
This operation returns this connector's buffer
getBuffer
in class ConnectorBase
public void setEndian(boolean isLittleEndian)
This operation set this connector's endian type
isLittleEndian
-
true: little, false: bigpublic boolean isLittleEndian()
This value is true if the architecture is little-endian; false if it is big-endian.
public abstract void setListener(ConnectorBase.ConnectorInfo profile, ConnectorListeners listeners)
profile
-
Connector informationlisteners
-
Listener objectspublic abstract ReturnCode read(DataRef<org.omg.CORBA.portable.InputStream> data)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |