Typedef for a map of InertialTypes::ChannelField / InertialFieldParser pairs
Base Class parser for parsing Inertial Data Fields
virtual void parse( |
| ) const = 0 |
Parses an InertialDataField for InertialDataPoints and stores them in the result vector
field const InertialDataField& | The InertialDataField to parse for data points |
result InertialDataPoints& | The InertialDataPoints vector to store the data points in |
static void parseField( |
| ) |
The static parse function to call that looks through the parser map and parses the field with the correct parser
field const InertialDataField& | The InertialDataField to parse for data points |
result InertialDataPoints& | The InertialDataPoints vector to store the data points in |
Gets the static parser map that contains all the registered parsing classes
A ParserMap holding all the parse functions in a map
static bool registerParser( |
| ) |
Registers an InertialFieldParser with a InertialTypes::ChannelField.
true if the parser was registered successfully, false if it failed (already existed).
static bool pointIsValid( |
| ) |
Checks if the flag position for an Inertial Data Point is valid given the full flags value
allFlags uint16 | The full flags value representing all the valid and invalid flags |
flagPos uint16 | The binary position of the flag to check if it is valid (1) or invalid (0) |
true if the flag position is valid, false if the flag position is invalid