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

Identifies a satellite (satellite system and number) More...

Public Member Functions

constexpr bool operator< (const SatId &rhs) const
 Less than comparison (needed for map)
 
constexpr bool operator== (const SatId &rhs) const
 Equal comparison (needed for unordered_map)
 
 SatId ()=default
 Default constructor.
 
 SatId (SatelliteSystem satSys, uint16_t satNum)
 Constructor.
 

Public Attributes

uint16_t satNum
 Number of the satellite.
 
SatelliteSystem satSys
 Satellite system (GPS, GLONASS, GALILEO, QZSS, BDS, IRNSS, SBAS)
 

Detailed Description

Identifies a satellite (satellite system and number)

Constructor & Destructor Documentation

◆ SatId()

NAV::SatId::SatId ( SatelliteSystem satSys,
uint16_t satNum )
inline

Constructor.

Parameters
[in]satSysSatellite system
[in]satNumNumber of the satellite

Member Function Documentation

◆ operator<()

constexpr bool NAV::SatId::operator< ( const SatId & rhs) const
inlineconstexpr

Less than comparison (needed for map)

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

◆ operator==()

constexpr bool NAV::SatId::operator== ( const SatId & rhs) const
inlineconstexpr

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: