OpenCPN Partial API docs
|
Decode received NMEA messages and update global values from comm_vars.h and own_ship.h. More...
#include <comm_decoder.h>
Public Member Functions | |
bool | DecodeRMC (std::string s, NavData &temp_data) |
bool | DecodeHDM (std::string s, NavData &temp_data) |
bool | DecodeHDT (std::string s, NavData &temp_data) |
bool | DecodeHDG (std::string s, NavData &temp_data) |
bool | DecodeVTG (std::string s, NavData &temp_data) |
bool | DecodeGSV (std::string s, NavData &temp_data) |
bool | DecodeGGA (std::string s, NavData &temp_data) |
bool | DecodeGLL (std::string s, NavData &temp_data) |
bool | ParsePosition (const LATLONG &Position, double &lat, double &lon) |
bool | DecodePGN129025 (std::vector< unsigned char > v, NavData &temp_data) |
bool | DecodePGN129026 (std::vector< unsigned char > v, NavData &temp_data) |
bool | DecodePGN129029 (std::vector< unsigned char > v, NavData &temp_data) |
bool | DecodePGN127250 (std::vector< unsigned char > v, NavData &temp_data) |
bool | DecodePGN129540 (std::vector< unsigned char > v, NavData &temp_data) |
bool | DecodeSignalK (std::string s, NavData &temp_data) |
void | handleUpdate (const rapidjson::Value &update, NavData &temp_data) |
void | updateItem (const rapidjson::Value &item, wxString &sfixtime, NavData &temp_data) |
bool | updateNavigationPosition (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
void | updateNavigationSpeedOverGround (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
void | updateNavigationCourseOverGround (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
void | updateGnssSatellites (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
void | updateHeadingTrue (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
void | updateHeadingMagnetic (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
void | updateMagneticVariance (const rapidjson::Value &value, const wxString &sfixtime, NavData &temp_data) |
Public Attributes | |
NMEA0183 | m_NMEA0183 |
Decode received NMEA messages and update global values from comm_vars.h and own_ship.h.
Definition at line 58 of file comm_decoder.h.
|
inline |
Definition at line 60 of file comm_decoder.h.
|
inline |
Definition at line 61 of file comm_decoder.h.
bool CommDecoder::DecodeGGA | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 229 of file comm_decoder.cpp.
bool CommDecoder::DecodeGLL | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 194 of file comm_decoder.cpp.
bool CommDecoder::DecodeGSV | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 215 of file comm_decoder.cpp.
bool CommDecoder::DecodeHDG | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 148 of file comm_decoder.cpp.
bool CommDecoder::DecodeHDM | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 122 of file comm_decoder.cpp.
bool CommDecoder::DecodeHDT | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 135 of file comm_decoder.cpp.
bool CommDecoder::DecodePGN127250 | ( | std::vector< unsigned char > | v, |
NavData & | temp_data | ||
) |
Definition at line 316 of file comm_decoder.cpp.
bool CommDecoder::DecodePGN129025 | ( | std::vector< unsigned char > | v, |
NavData & | temp_data | ||
) |
Definition at line 338 of file comm_decoder.cpp.
bool CommDecoder::DecodePGN129026 | ( | std::vector< unsigned char > | v, |
NavData & | temp_data | ||
) |
Definition at line 258 of file comm_decoder.cpp.
bool CommDecoder::DecodePGN129029 | ( | std::vector< unsigned char > | v, |
NavData & | temp_data | ||
) |
Definition at line 274 of file comm_decoder.cpp.
bool CommDecoder::DecodePGN129540 | ( | std::vector< unsigned char > | v, |
NavData & | temp_data | ||
) |
Definition at line 352 of file comm_decoder.cpp.
bool CommDecoder::DecodeRMC | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 74 of file comm_decoder.cpp.
bool CommDecoder::DecodeSignalK | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 367 of file comm_decoder.cpp.
bool CommDecoder::DecodeVTG | ( | std::string | s, |
NavData & | temp_data | ||
) |
Definition at line 174 of file comm_decoder.cpp.
void CommDecoder::handleUpdate | ( | const rapidjson::Value & | update, |
NavData & | temp_data | ||
) |
Definition at line 383 of file comm_decoder.cpp.
bool CommDecoder::ParsePosition | ( | const LATLONG & | Position, |
double & | lat, | ||
double & | lon | ||
) |
Definition at line 45 of file comm_decoder.cpp.
void CommDecoder::updateGnssSatellites | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 466 of file comm_decoder.cpp.
void CommDecoder::updateHeadingMagnetic | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 485 of file comm_decoder.cpp.
void CommDecoder::updateHeadingTrue | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 479 of file comm_decoder.cpp.
void CommDecoder::updateItem | ( | const rapidjson::Value & | item, |
wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 396 of file comm_decoder.cpp.
void CommDecoder::updateMagneticVariance | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 491 of file comm_decoder.cpp.
void CommDecoder::updateNavigationCourseOverGround | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 458 of file comm_decoder.cpp.
bool CommDecoder::updateNavigationPosition | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 436 of file comm_decoder.cpp.
void CommDecoder::updateNavigationSpeedOverGround | ( | const rapidjson::Value & | value, |
const wxString & | sfixtime, | ||
NavData & | temp_data | ||
) |
Definition at line 450 of file comm_decoder.cpp.
NMEA0183 CommDecoder::m_NMEA0183 |
Definition at line 75 of file comm_decoder.h.