Public Member Functions | List of all members
gnsstk::NavMsgData Class Referenceabstract

Detailed Description

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>

Inheritance diagram for gnsstk::NavMsgData:
Inheritance graph
[legend]

Public Member Functions

virtual void dump (std::ostream &s, unsigned totalBits) const =0
 
virtual uint32_t getBits (unsigned start, unsigned num) const =0
 

Member Function Documentation

◆ dump()

virtual void gnsstk::NavMsgData::dump ( std::ostream &  s,
unsigned  totalBits 
) const
pure virtual

Dump the contents of this message to the given stream.

Parameters
[in,out]sThe stream to dump the data to.
[in]totalBitsThe total number of bits to dump (usually the number of bits in the subframe).

Implemented in gnsstk::NavMsgDataWords< WordSize >, gnsstk::NavMsgDataPNB, and gnsstk::NavMsgDataBits.

◆ getBits()

virtual uint32_t gnsstk::NavMsgData::getBits ( unsigned  start,
unsigned  num 
) const
pure virtual

Get a value, up to 32 bits, out of the nav message.

Parameters
[in]startThe first bit (counting from 1 through the maximum number of bits in a single subframe) of the desired bits.
[in]numThe number of consecutive bits to retrieve.
Returns
The value extracted from the nav message starting at start and ending at (start-1+num).

Implemented in gnsstk::NavMsgDataWords< WordSize >, gnsstk::NavMsgDataPNB, and gnsstk::NavMsgDataBits.


The documentation for this class was generated from the following file:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:45