InPortConnector.h
Go to the documentation of this file.
1 // -*- C++ -*-
20 #ifndef RTC_INPORTCONNECTOR_H
21 #define RTC_INPORTCONNECTOR_H
22 
23 #include <rtm/ConnectorBase.h>
24 
25 namespace RTC
26 {
47  : public ConnectorBase
48  {
49  public:
67  CdrBufferBase* buffer);
68 
76  virtual ~InPortConnector();
77 
95  virtual const ConnectorInfo& profile();
96 
114  virtual const char* id();
115 
133  virtual const char* name();
134 
152  virtual ReturnCode disconnect() = 0;
153 
171  virtual CdrBufferBase* getBuffer();
172 
193  virtual ReturnCode read(cdrMemoryStream& data) = 0;
194 
212  virtual void setEndian(const bool endian_type);
213 
231  virtual bool isLittleEndian();
232 
233  protected:
266  };
267 }; // namespace RTC
268 
269 #endif // RTC_INPORTCONNECTOR_H
ConnectorInfo m_profile
ConnectorInfo.
#define DATAPORTSTATUS_ENUM
Importing RTC::DataPortStatus macro.
virtual ReturnCode read(cdrMemoryStream &data)=0
Destructor.
RT-Component.
Connector Base class.
virtual const ConnectorInfo & profile()
Getting ConnectorInfo.
Enum
DataPortStatus return codes.
Definition: BufferStatus.h:84
CdrBufferBase * m_buffer
Connector&#39;s buffer.
virtual ReturnCode disconnect()=0
Disconnect connection.
Connector base class.
virtual CdrBufferBase * getBuffer()
Getting Buffer.
virtual const char * name()
Getting Connector name.
virtual void setEndian(const bool endian_type)
Setting an endian type.
virtual const char * id()
Getting Connector ID.
virtual ~InPortConnector()
Destructor.
virtual bool isLittleEndian()
Whether this connector&#39;s endian is little.
Logger rtclog
Logger stream.
DATAPORTSTATUS_ENUM InPortConnector(ConnectorInfo &info, CdrBufferBase *buffer)
Constructor.
BufferBase abstract class.
Definition: BufferBase.h:104
bool m_littleEndian
Connected Endian.


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Mon Feb 28 2022 23:00:43