InPortConnector base class. More...
#include <InPortConnector.h>
  
 Public Member Functions | |
| DATAPORTSTATUS_ENUM | InPortConnector (ConnectorInfo &info, CdrBufferBase *buffer) | 
| Constructor.   | |
| virtual | ~InPortConnector () | 
| Destructor.   | |
| virtual const ConnectorInfo & | profile () | 
| Getting ConnectorInfo.   | |
| virtual const char * | id () | 
| Getting Connector ID.   | |
| virtual const char * | name () | 
| Getting Connector name.   | |
| virtual ReturnCode | disconnect ()=0 | 
| Disconnect connection.   | |
| virtual CdrBufferBase * | getBuffer () | 
| Getting Buffer.   | |
| virtual ReturnCode | read (cdrMemoryStream &data)=0 | 
| Destructor.   | |
| virtual void | setEndian (const bool endian_type) | 
| Setting an endian type.   | |
| virtual bool | isLittleEndian () | 
| Whether this connector's endian is little.   | |
Protected Attributes | |
| Logger | rtclog | 
| Logger stream.   | |
| ConnectorInfo | m_profile | 
| ConnectorInfo.   | |
| CdrBufferBase * | m_buffer | 
| Connector's buffer.   | |
| bool | m_littleEndian | 
| Connected Endian.   | |
InPortConnector base class.
The base class to derive subclasses for InPort's Push/Pull Connectors
| DATAPORTSTATUS_ENUM RTC::InPortConnector::InPortConnector | ( | ConnectorInfo & | info, | |
| CdrBufferBase * | buffer | |||
| ) | 
Constructor.
| info | ConnectorInfo object which includes connection information | |
| buffer | A pointer to the buffer of the connector | 
| virtual RTC::InPortConnector::~InPortConnector | ( | ) |  [virtual] | 
        
Destructor.
| virtual ReturnCode RTC::InPortConnector::disconnect | ( | ) |  [pure virtual] | 
        
Disconnect connection.
This operation disconnect this connection
Implements RTC::ConnectorBase.
Implemented in RTC::InPortPullConnector, and RTC::InPortPushConnector.
| virtual CdrBufferBase* RTC::InPortConnector::getBuffer | ( | ) |  [virtual] | 
        
Getting Buffer.
This operation returns this connector's buffer
Implements RTC::ConnectorBase.
| virtual const char* RTC::InPortConnector::id | ( | ) |  [virtual] | 
        
Getting Connector ID.
This operation returns Connector ID
Implements RTC::ConnectorBase.
| virtual bool RTC::InPortConnector::isLittleEndian | ( | ) |  [virtual] | 
        
Whether this connector's endian is little.
This operation returns whether the connector's endian is little or not.
| virtual const char* RTC::InPortConnector::name | ( | ) |  [virtual] | 
        
Getting Connector name.
This operation returns Connector name
Implements RTC::ConnectorBase.
| virtual const ConnectorInfo& RTC::InPortConnector::profile | ( | ) |  [virtual] | 
        
Getting ConnectorInfo.
This operation returns ConnectorInfo
Implements RTC::ConnectorBase.
| virtual ReturnCode RTC::InPortConnector::read | ( | cdrMemoryStream & | data | ) |  [pure virtual] | 
        
Destructor.
The read function to read data from buffer to InPort
| data | A reference to a variable to which data from this connector is stored. | 
Implemented in RTC::InPortPullConnector, and RTC::InPortPushConnector.
| virtual void RTC::InPortConnector::setEndian | ( | const bool | endian_type | ) |  [virtual] | 
        
Setting an endian type.
This operation set this connector's endian type
| endian_type | true: little, false: big | 
CdrBufferBase* RTC::InPortConnector::m_buffer [protected] | 
        
Connector's buffer.
bool RTC::InPortConnector::m_littleEndian [protected] | 
        
Connected Endian.
ConnectorInfo RTC::InPortConnector::m_profile [protected] | 
        
Logger RTC::InPortConnector::rtclog [protected] | 
        
Logger stream.
 1.6.3