InPortConnector.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00020 #ifndef RTC_INPORTCONNECTOR_H
00021 #define RTC_INPORTCONNECTOR_H
00022 
00023 #include <rtm/ConnectorBase.h>
00024 
00025 namespace RTC
00026 {
00046   class InPortConnector
00047     : public ConnectorBase
00048   {
00049   public:
00050     DATAPORTSTATUS_ENUM
00066     InPortConnector(ConnectorInfo& info,
00067                     CdrBufferBase* buffer);
00068 
00076     virtual ~InPortConnector();
00077 
00095     virtual const ConnectorInfo& profile();
00096 
00114     virtual const char* id();
00115 
00133     virtual const char* name();
00134 
00152     virtual ReturnCode disconnect() = 0;
00153 
00171     virtual CdrBufferBase* getBuffer();
00172 
00193     virtual ReturnCode read(cdrMemoryStream& data) = 0;
00194 
00212     virtual void setEndian(const bool endian_type);
00213 
00231     virtual bool isLittleEndian();
00232 
00233   protected:
00241     Logger rtclog;
00249     ConnectorInfo m_profile;
00257     CdrBufferBase* m_buffer;
00265     bool m_littleEndian;
00266   };
00267 }; // namespace RTC
00268 
00269 #endif // RTC_INPORTCONNECTOR_H


openrtm_aist
Author(s): Noriaki Ando
autogenerated on Sun Mar 26 2017 03:37:15