0.2.0
Loading...
Searching...
No Matches
NAV::SatSigId Struct Reference

Identifies a satellite signal (satellite frequency and number) More...

Public Member Functions

Frequency freq () const
 Returns the frequency of the satellite signal.
 
bool operator< (const SatSigId &rhs) const
 Less than comparison (needed for map)
 
bool operator== (const SatSigId &rhs) const
 Equal comparison (needed for unordered_map)
 
 SatSigId ()=default
 Default constructor.
 
 SatSigId (Code code, uint16_t satNum)
 Constructor.
 
SatId toSatId () const
 Returns a satellite identifier for the satellite signal.
 

Public Attributes

Code code
 Code.
 
uint16_t satNum
 Number of the satellite.
 

Detailed Description

Identifies a satellite signal (satellite frequency and number)

Constructor & Destructor Documentation

◆ SatSigId()

NAV::SatSigId::SatSigId ( Code code,
uint16_t satNum )
inline

Constructor.

Parameters
[in]codeSignal code
[in]satNumNumber of the satellite

Member Function Documentation

◆ operator<()

bool NAV::SatSigId::operator< ( const SatSigId & rhs) const
inline

Less than comparison (needed for map)

Parameters
[in]rhsRight hand side of the operator
Returns
True if lhs < rhs

◆ operator==()

bool NAV::SatSigId::operator== ( const SatSigId & rhs) const
inline

Equal comparison (needed for unordered_map)

Parameters
[in]rhsRight hand side of the operator
Returns
True if the elements are equal

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