@ref SatelliteType Bitmask Support
These values can be used to specify a bitmask for controlling enabled GNSS constellations. More...
Functions Index
template <typename... Args> | |
| constexpr uint32_t | ToBitMask (SatelliteType first, Args... others) |
|
Convert two or more SatelliteType values to a bitmask. More... | |
| constexpr uint32_t | ToBitMask (SatelliteType type) |
|
Convert a SatelliteType to a corresponding constellation control bitmask value. More... | |
Variables Index
| static constexpr uint32_t | SATELLITE_TYPE_MASK_ALL = 0xFFFFFFFF |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_BEIDOU = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_GALILEO = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_GLONASS = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_GPS = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_IRNSS = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_LEO = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_MIXED = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_QZSS = ... |
| static constexpr uint32_t | SATELLITE_TYPE_MASK_SBAS = ... |
Description
These values can be used to specify a bitmask for controlling enabled GNSS constellations.
The bit locations are equal to the values set by SatelliteType for each constellation.
For example, the mask 0x32 enables GPS, Galileo, and BeiDou. You can create that mask with the SATELLITE_TYPE_MASK_* constants:
or by calling the ToBitMask(SatelliteType) helper function:
Functions
ToBitMask()
| constexpr |
Convert two or more SatelliteType values to a bitmask.
For example:
generates the following bitmask:
- Template Parameters
-
Args The type of the others values (SatelliteType)
- Parameters
-
first The first value.
others One or more additional values.
- Returns
The corresponding bitmask.
Definition at line 192 of file signal_defs.h.
ToBitMask()
| constexpr |
Convert a SatelliteType to a corresponding constellation control bitmask value.
For example:
generates the following bitmask:
- Parameters
-
type The desired constellation.
- Returns
The corresponding bitmask.
Definition at line 163 of file signal_defs.h.
Variables
SATELLITE_TYPE_MASK_ALL
| constexpr static |
Definition at line 141 of file signal_defs.h.
SATELLITE_TYPE_MASK_BEIDOU
| constexpr static |
- Initialiser
Definition at line 130 of file signal_defs.h.
SATELLITE_TYPE_MASK_GALILEO
| constexpr static |
- Initialiser
Definition at line 128 of file signal_defs.h.
SATELLITE_TYPE_MASK_GLONASS
| constexpr static |
- Initialiser
Definition at line 124 of file signal_defs.h.
SATELLITE_TYPE_MASK_GPS
| constexpr static |
- Initialiser
Definition at line 122 of file signal_defs.h.
SATELLITE_TYPE_MASK_IRNSS
| constexpr static |
- Initialiser
Definition at line 138 of file signal_defs.h.
SATELLITE_TYPE_MASK_LEO
| constexpr static |
- Initialiser
Definition at line 126 of file signal_defs.h.
SATELLITE_TYPE_MASK_MIXED
| constexpr static |
- Initialiser
Definition at line 134 of file signal_defs.h.
SATELLITE_TYPE_MASK_QZSS
| constexpr static |
- Initialiser
Definition at line 132 of file signal_defs.h.
SATELLITE_TYPE_MASK_SBAS
| constexpr static |
- Initialiser
Definition at line 136 of file signal_defs.h.
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.