|
DDS
ver. 1.6
|
#include <ProtocolMessage.h>
Public Types | |
| enum | { cmd_sign_length = 2 } |
| enum | { header_length = sizeof(SMessageHeader) } |
| typedef MiscCommon::BYTEVector_t | dataContainer_t |
| typedef dataContainer_t::value_type | data_t |
| typedef std::shared_ptr< CProtocolMessage > | protocolMessagePtr_t |
Public Member Functions | |
| CProtocolMessage () | |
| CProtocolMessage (uint16_t _cmd, const MiscCommon::BYTEVector_t &_data) | |
| void | encode (uint16_t _cmd, const MiscCommon::BYTEVector_t &_data) |
| void | clear () |
| void | resize (size_t _size) |
| const data_t * | data () const |
| data_t * | data () |
| size_t | length () const |
| const data_t * | body () const |
| data_t * | body () |
| size_t | body_length () const |
| bool | decode_header () |
| const SMessageHeader & | header () const |
| std::string | toString () const |
| dataContainer_t | bodyToContainer () const |
| typedef dataContainer_t::value_type dds::protocol_api::CProtocolMessage::data_t |
| typedef std::shared_ptr<CProtocolMessage> dds::protocol_api::CProtocolMessage::protocolMessagePtr_t |
| CProtocolMessage::CProtocolMessage | ( | ) |
| CProtocolMessage::CProtocolMessage | ( | uint16_t | _cmd, |
| const MiscCommon::BYTEVector_t & | _data | ||
| ) |
| const CProtocolMessage::data_t * CProtocolMessage::body | ( | ) | const |
| CProtocolMessage::data_t * CProtocolMessage::body | ( | ) |
| size_t CProtocolMessage::body_length | ( | ) | const |
|
inline |
| void CProtocolMessage::clear | ( | ) |
| const CProtocolMessage::data_t * CProtocolMessage::data | ( | ) | const |
| CProtocolMessage::data_t * CProtocolMessage::data | ( | ) |
| bool CProtocolMessage::decode_header | ( | ) |
|
inline |
| const SMessageHeader & CProtocolMessage::header | ( | ) | const |
| size_t CProtocolMessage::length | ( | ) | const |
| void CProtocolMessage::resize | ( | size_t | _size | ) |
| string CProtocolMessage::toString | ( | ) | const |
1.8.13