A struct representing the version of a data object.
The version is considered invalid if major_version is 0xFF and minor_version is 0xFFFF.
Definition at line 24 of file data_version.h.
#include <point_one/fusion_engine/messages/data_version.h>
◆ DataVersion() [1/2]
constexpr point_one::fusion_engine::messages::DataVersion::DataVersion |
( |
| ) |
|
|
constexprdefault |
◆ DataVersion() [2/2]
constexpr point_one::fusion_engine::messages::DataVersion::DataVersion |
( |
uint8_t |
major, |
|
|
uint16_t |
minor |
|
) |
| |
|
inlineconstexpr |
◆ IsValid()
bool point_one::fusion_engine::messages::DataVersion::IsValid |
( |
| ) |
const |
|
inline |
Returns whether the stored version is valid.
- Returns
true
if the version is valid, false
otherwise.
Definition at line 39 of file data_version.h.
◆ major_version
uint8_t point_one::fusion_engine::messages::DataVersion::major_version = 0xFF |
◆ minor_version
uint16_t point_one::fusion_engine::messages::DataVersion::minor_version = 0xFFFF |
The documentation for this struct was generated from the following file: