15 #ifndef KOBUKI_EEPROM_DATA_HPP__ 16 #define KOBUKI_EEPROM_DATA_HPP__ 24 #include "../packet_handler/payload_headers.hpp" 52 for (
unsigned int i = 0; i < data.tmp_eeprom.size(); ++i)
67 unsigned char header_id, length_packed;
71 if( length_packed !=
length )
return false;
74 for (
unsigned int i = 0; i < data.tmp_eeprom.size(); ++i)
unsigned int size() const
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)
std::vector< uint8_t > tmp_eeprom
void buildVariable(T &V, ecl::PushAndPop< unsigned char > &buffer)
void buildBytes(const T &V, ecl::PushAndPop< unsigned char > &buffer)