Define an abstract base class (interface) for the purpose of abstracting how NavFilter-derived classes can look at the data. This allows the filters to be implemented in a fashion that is completely independent of the internal storage.
Definition at line 55 of file NavMsgData.hpp.
#include <NavMsgData.hpp>
Public Member Functions | |
virtual void | dump (std::ostream &s, unsigned totalBits) const =0 |
virtual uint32_t | getBits (unsigned start, unsigned num) const =0 |
|
pure virtual |
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). |
Implemented in gnsstk::NavMsgDataWords< WordSize >, gnsstk::NavMsgDataPNB, and gnsstk::NavMsgDataBits.
|
pure virtual |
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. |
Implemented in gnsstk::NavMsgDataWords< WordSize >, gnsstk::NavMsgDataPNB, and gnsstk::NavMsgDataBits.