0.2.0
|
Code definitions. More...
Go to the source code of this file.
Classes | |
class | NAV::Code |
Enumerate for GNSS Codes. More... | |
struct | std::hash< NAV::Code > |
Hash function for Frequency (needed for unordered_map) More... | |
Functions | |
void | NAV::from_json (const json &j, Code &data) |
Converts the provided json object into a link object. | |
Code | NAV::operator& (const Code::Enum &lhs, const Code::Enum &rhs) |
Allows combining flags of the Code enum. | |
std::ostream & | operator<< (std::ostream &os, const NAV::Code &obj) |
Stream insertion operator overload. | |
Code | NAV::operator| (const Code::Enum &lhs, const Code::Enum &rhs) |
Allows combining flags of the Code enum. | |
bool | NAV::ShowCodeSelector (const char *label, Code &code, const Frequency &filterFreq, bool singleSelect=false) |
Shows a ComboBox to select signal codes. | |
void | NAV::to_json (json &j, const Code &data) |
Converts the provided link into a json object. | |
Variables | |
const Code | NAV::Code_ALL |
const Code | NAV::Code_B1D_B1P_B1X |
B1 (data, pilot, combined) | |
const Code | NAV::Code_B2I_B2Q_B2X |
B1I(OS), B1Q, combined. | |
const Code | NAV::Code_B5D_B5P_B5X |
B2a (data, pilot, combined) | |
const Code | NAV::Code_B6I_B6Q_B6X |
B3I, B3Q, combined. | |
const Code | NAV::Code_B7D_B7P_B7Z |
B2b (data, pilot, combined) | |
const Code | NAV::Code_B7I_B7Q_B7X |
B2I(OS), B2Q, combined. | |
const Code | NAV::Code_B8D_B8P_B8X |
B2 (B2a+B2b) (data, pilot, combined) | |
const Code | NAV::Code_Default |
Default selection for codes. | |
const Code | NAV::Code_E1B_E1C_E1X |
OS (data, pilot, combined) | |
const Code | NAV::Code_E5I_E5Q_E5X |
E5a (data, pilot, combined) | |
const Code | NAV::Code_E6B_E6C_E6X |
E6 (data, pilot, combined) | |
const Code | NAV::Code_E7I_E7Q_E7X |
E5b (data, pilot, combined) | |
const Code | NAV::Code_E8I_E8Q_E8X |
E5 AltBOC (data, pilot, combined) | |
const Code | NAV::Code_G1S_G1L_G1X |
L1C (data, pilot, combined) | |
const Code | NAV::Code_G2S_G2L_G2X |
L2C-code (medium, long, combined) | |
const Code | NAV::Code_G5I_G5Q_G5X |
L5 (data, pilot, combined) | |
const Code | NAV::Code_I5B_I5C_I5X |
RS (data, pilot, combined) | |
const Code | NAV::Code_I9B_I9C_I9X |
RS (data, pilot, combined) | |
const Code | NAV::Code_J1S_J1L_J1X |
L1C (data, pilot, combined) | |
const Code | NAV::Code_J2S_J2L_J2X |
L2C-code (medium, long, combined) | |
const Code | NAV::Code_J5D_J5P_J5Z |
L5 (data, pilot, combined) | |
const Code | NAV::Code_J5I_J5Q_J5X |
L5 (data, pilot, combined) | |
const Code | NAV::Code_J6S_J6L_J6X |
LEX signal (short, long, combined) | |
const Code | NAV::Code_R3I_R3Q_R3X |
L3 (data, pilot, combined) | |
const Code | NAV::Code_R4A_R4B_R4X |
G1a (data, pilot, combined) | |
const Code | NAV::Code_R6A_R6B_R6X |
G2a (data, pilot, combined) | |
const Code | NAV::Code_S5I_S5Q_S5X |
L5 (data, pilot, combined) | |
Code definitions.
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 |
Code NAV::operator& | ( | const Code::Enum & | lhs, |
const Code::Enum & | rhs ) |
Allows combining flags of the Code enum.
[in] | lhs | Left-hand side value. |
[in] | rhs | Right-hand side value. |
std::ostream & operator<< | ( | std::ostream & | os, |
const NAV::Code & | obj ) |
Stream insertion operator overload.
[in,out] | os | Output stream object to stream the time into |
[in] | obj | Object to print |
Code NAV::operator| | ( | const Code::Enum & | lhs, |
const Code::Enum & | rhs ) |
Allows combining flags of the Code enum.
[in] | lhs | Left-hand side value. |
[in] | rhs | Right-hand side value. |
bool NAV::ShowCodeSelector | ( | const char * | label, |
Code & | code, | ||
const Frequency & | filterFreq, | ||
bool | singleSelect = false ) |
Shows a ComboBox to select signal codes.
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in,out] | code | Reference to the code object to select |
[in] | filterFreq | Frequencies to select codes for. Other Frequencies will be disabled. |
[in] | singleSelect | If true, only one code can be selected at a time |
Converts the provided link into a json object.
[out] | j | Json object which gets filled with the info |
[in] | data | Data to convert into json |
const Code NAV::Code_ALL |
All codes set