13 #ifndef KOBUKI_FW_DATA_HPP__ 14 #define KOBUKI_FW_DATA_HPP__ 22 #include "../packet_handler/payload_base.hpp" 23 #include "../packet_handler/payload_headers.hpp" int checkMajorVersion() const
static int majorVersion(const uint32_t &version)
const unsigned char length
Provides base class for payloads.
payloadBase(const bool is_dynamic_=false, const unsigned char length_=0)
int checkRecommendedVersion() const
bool serialise(ecl::PushAndPop< unsigned char > &byteStream)
static const std::vector< uint32_t > RECOMMENDED_VERSIONS
const uint32_t & version() const
bool deserialise(ecl::PushAndPop< unsigned char > &byteStream)
static int patchVersion(const uint32_t &version)
static int minorVersion(const uint32_t &version)
static const uint32_t COMPATIBLE_MAJOR_VERSION
void buildBytes(const T &V, ecl::PushAndPop< unsigned char > &buffer)