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