13 #ifndef KOBUKI_DOCK_IR_DATA_HPP__ 14 #define KOBUKI_DOCK_IR_DATA_HPP__ 20 #include "../packet_handler/payload_base.hpp" 21 #include "../packet_handler/payload_headers.hpp" 43 bool serialise(ecl::PushAndPop<unsigned char> & byteStream)
55 if (byteStream.size() <
length+2)
61 unsigned char header_id, length_packed;
65 if( length_packed !=
length )
return false;
std::vector< uint8_t > docking
bool deserialise(ecl::PushAndPop< unsigned char > &byteStream)
const unsigned char length
Provides base class for payloads.
payloadBase(const bool is_dynamic_=false, const unsigned char length_=0)
bool serialise(ecl::PushAndPop< unsigned char > &byteStream)
void buildVariable(T &V, ecl::PushAndPop< unsigned char > &buffer)
void buildBytes(const T &V, ecl::PushAndPop< unsigned char > &buffer)
struct kobuki::DockIR::Data data