Define a class for storing NavFilterKey data in an array of 32-bit words. The template argument WordSize indicates how many of the 32-bit words contain data, e.g. 30 bits for GPS LNav and BeiDou D1 and D2 nav. WordSize cannot be larger than 32. This class is intended to be used as a template argument for NavFilterKey objects e.g. D1NavFilterData. It is not expected to be used directly by developers.
Definition at line 58 of file NavMsgDataWords.hpp.
#include <NavMsgDataWords.hpp>
Public Member Functions | |
void | dump (std::ostream &s, unsigned totalBits) const override |
uint32_t | getBits (unsigned start, unsigned num) const override |
Public Attributes | |
uint32_t * | sf |
The subframe contents, an array of words of WordSize bits. More... | |
|
overridevirtual |
Dump the contents of this message to the given stream.
[in,out] | s | The stream to dump the data to. |
[in] | totalBits | The total number of bits to dump (usually the number of bits in the subframe). |
Implements gnsstk::NavMsgData.
Definition at line 97 of file NavMsgDataWords.hpp.
|
overridevirtual |
Get a value, up to 32 bits, out of the nav message.
[in] | start | The first bit (counting from 1 through the maximum number of bits in a single subframe) of the desired bits. |
[in] | num | The number of consecutive bits to retrieve. |
Implements gnsstk::NavMsgData.
Definition at line 84 of file NavMsgDataWords.hpp.
uint32_t* gnsstk::NavMsgDataWords< WordSize >::sf |
The subframe contents, an array of words of WordSize bits.
Definition at line 77 of file NavMsgDataWords.hpp.