13 #ifndef KOBUKI_CLIFF_DATA_HPP__ 14 #define KOBUKI_CLIFF_DATA_HPP__ 21 #include "../packet_handler/payload_base.hpp" 22 #include "../packet_handler/payload_headers.hpp" 63 unsigned char header_id, length_packed;
67 if( length_packed !=
length )
return false;
struct kobuki::Cliff::Data data
bool serialise(ecl::PushAndPop< unsigned char > &byteStream)
unsigned int size() const
const unsigned char length
std::vector< uint16_t > bottom
bool deserialise(ecl::PushAndPop< unsigned char > &byteStream)
Provides base class for payloads.
payloadBase(const bool is_dynamic_=false, const unsigned char length_=0)
void buildVariable(T &V, ecl::PushAndPop< unsigned char > &buffer)
void buildBytes(const T &V, ecl::PushAndPop< unsigned char > &buffer)