0.2.0
|
Frequency definition for different satellite systems. More...
Go to the source code of this file.
Classes | |
class | NAV::Frequency |
Frequency definition for different satellite systems. More... | |
struct | std::hash< NAV::Frequency > |
Hash function for Frequency (needed for unordered_map) More... | |
struct | std::hash< NAV::Frequency_ > |
Hash function for Frequency (needed for unordered_map) More... | |
Enumerations | |
enum | NAV::Frequency_ : uint64_t { NAV::Freq_None , NAV::G01 , NAV::G02 , NAV::G05 , NAV::E01 , NAV::E05 , NAV::E06 , NAV::E07 , NAV::E08 , NAV::R01 , NAV::R02 , NAV::R03 , NAV::R04 , NAV::R06 , NAV::B01 , NAV::B02 , NAV::B05 , NAV::B06 , NAV::B07 , NAV::B08 , NAV::J01 , NAV::J02 , NAV::J05 , NAV::J06 , NAV::I05 , NAV::I09 , NAV::S01 , NAV::S05 } |
Enumerate for GNSS frequencies. More... | |
Functions | |
void | NAV::from_json (const json &j, Frequency &data) |
Converts the provided json object into a link object. | |
constexpr bool | NAV::operator!= (const Frequency &lhs, const Frequency &rhs) |
Inequal compares values. | |
constexpr bool | NAV::operator!= (const Frequency &lhs, const Frequency_ &rhs) |
Inequal compares values. | |
constexpr bool | NAV::operator!= (const Frequency_ &lhs, const Frequency &rhs) |
Inequal compares values. | |
constexpr Frequency_ | NAV::operator& (Frequency lhs, Frequency rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator& (Frequency lhs, Frequency_ rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator& (Frequency lhs, SatelliteSystem rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (Frequency lhs, SatelliteSystem_ rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (Frequency_ lhs, Frequency rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator& (Frequency_ lhs, Frequency_ rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator& (Frequency_ lhs, SatelliteSystem rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (Frequency_ lhs, SatelliteSystem_ rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (SatelliteSystem lhs, Frequency rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (SatelliteSystem lhs, Frequency_ rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (SatelliteSystem_ lhs, Frequency rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ | NAV::operator& (SatelliteSystem_ lhs, Frequency_ rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency & | NAV::operator&= (Frequency &lhs, const Frequency &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency & | NAV::operator&= (Frequency &lhs, const Frequency_ &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency & | NAV::operator&= (Frequency &lhs, const SatelliteSystem &rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency & | NAV::operator&= (Frequency &lhs, const SatelliteSystem_ &rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ & | NAV::operator&= (Frequency_ &lhs, const Frequency &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ & | NAV::operator&= (Frequency_ &lhs, const Frequency_ &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ & | NAV::operator&= (Frequency_ &lhs, const SatelliteSystem &rhs) |
Allows filtering Frequency with SatelliteSystem. | |
constexpr Frequency_ & | NAV::operator&= (Frequency_ &lhs, const SatelliteSystem_ &rhs) |
Allows filtering Frequency with SatelliteSystem. | |
std::ostream & | operator<< (std::ostream &os, const NAV::Frequency &obj) |
Stream insertion operator overload. | |
constexpr bool | NAV::operator== (const Frequency &lhs, const Frequency &rhs) |
Equal compares values. | |
constexpr bool | NAV::operator== (const Frequency &lhs, const Frequency_ &rhs) |
Equal compares values. | |
constexpr bool | NAV::operator== (const Frequency_ &lhs, const Frequency &rhs) |
Equal compares values. | |
constexpr Frequency_ | NAV::operator| (Frequency lhs, Frequency rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator| (Frequency lhs, Frequency_ rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator| (Frequency_ lhs, Frequency rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator| (Frequency_ lhs, Frequency_ rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency & | NAV::operator|= (Frequency &lhs, const Frequency &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency & | NAV::operator|= (Frequency &lhs, const Frequency_ &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ & | NAV::operator|= (Frequency_ &lhs, const Frequency &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ & | NAV::operator|= (Frequency_ &lhs, const Frequency_ &rhs) |
Allows combining flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator~ (Frequency rhs) |
Allows negating flags of the Frequency enum. | |
constexpr Frequency_ | NAV::operator~ (Frequency_ rhs) |
Allows negating flags of the Frequency enum. | |
bool | NAV::ShowFrequencySelector (const char *label, Frequency &frequency, bool singleSelect=false) |
Shows a ComboBox to select GNSS frequencies. | |
void | NAV::to_json (json &j, const Frequency &data) |
Converts the provided link into a json object. | |
Variables | |
constexpr Frequency_ | NAV::Freq_All |
All Frequencies. | |
Frequency definition for different satellite systems.
enum NAV::Frequency_ : uint64_t |
Enumerate for GNSS frequencies.
Converts the provided json object into a link object.
[in] | j | Json object with the needed values |
[out] | data | Object to fill from the json |
Inequal compares values.
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
|
constexpr |
Inequal compares values.
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
|
constexpr |
Inequal compares values.
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows filtering Frequency with SatelliteSystem.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
std::ostream & operator<< | ( | std::ostream & | os, |
const NAV::Frequency & | obj ) |
Stream insertion operator overload.
[in,out] | os | Output stream object to stream the time into |
[in] | obj | Object to print |
Equal compares values.
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
|
constexpr |
Equal compares values.
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
|
constexpr |
Equal compares values.
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows combining flags of the Frequency enum.
[in] | lhs | Left-hand side enum value. |
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows negating flags of the Frequency enum.
[in] | rhs | Right-hand side enum value. |
|
constexpr |
Allows negating flags of the Frequency enum.
[in] | rhs | Right-hand side enum value. |
bool NAV::ShowFrequencySelector | ( | const char * | label, |
Frequency & | frequency, | ||
bool | singleSelect = false ) |
Shows a ComboBox to select GNSS frequencies.
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in,out] | frequency | Reference to the frequency object to select |
[in] | singleSelect | If true, only one code can be selected at a time |