DataVersion Struct
A struct representing the version of a data object. More...
Declaration
struct point_one::fusion_engine::messages::DataVersion { ... }
Included Headers
Public Constructors Index
| constexpr | DataVersion ()=default |
| constexpr | DataVersion (uint8_t major, uint16_t minor) |
Public Member Functions Index
| bool | IsValid () const |
|
Returns whether the stored version is valid. More... | |
Public Member Attributes Index
| uint8_t | major_version = 0xFF |
| uint16_t | minor_version = 0xFFFF |
Description
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.
Public Constructors
DataVersion()
| constexpr default |
Definition at line 30 of file data_version.h.
DataVersion()
Public Member Functions
IsValid()
| 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.
Public Member Attributes
major_version
|
Definition at line 27 of file data_version.h.
minor_version
|
Definition at line 28 of file data_version.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.