Public Member Functions | Public Attributes | List of all members
gnsstk::NavMsgDataBits Class Reference

Detailed Description

Define a class for storing NavFilterKey data in an array of 0s and 1s as in the MDH format. 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 54 of file NavMsgDataBits.hpp.

#include <NavMsgDataBits.hpp>

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

Public Member Functions

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

Public Attributes

int8_t * sf
 

Member Function Documentation

◆ dump()

void gnsstk::NavMsgDataBits::dump ( std::ostream &  s,
unsigned  totalBits 
) const
overridevirtual

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).

Implements gnsstk::NavMsgData.

Definition at line 57 of file NavMsgDataBits.cpp.

◆ getBits()

uint32_t gnsstk::NavMsgDataBits::getBits ( unsigned  start,
unsigned  num 
) const
overridevirtual

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).

Implements gnsstk::NavMsgData.

Definition at line 44 of file NavMsgDataBits.cpp.

Member Data Documentation

◆ sf

int8_t* gnsstk::NavMsgDataBits::sf

The subframe contents, an array of bit values which are expected to be either 0 or 1.

Definition at line 74 of file NavMsgDataBits.hpp.


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


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