OpenCPN Partial API docs
|
Public Member Functions | |
bool | Initialize () |
void | InitCommListeners () |
bool | HandleN2K_129029 (std::shared_ptr< const Nmea2000Msg > n2k_msg) |
bool | HandleN2K_129025 (std::shared_ptr< const Nmea2000Msg > n2k_msg) |
bool | HandleN2K_129026 (std::shared_ptr< const Nmea2000Msg > n2k_msg) |
bool | HandleN2K_127250 (std::shared_ptr< const Nmea2000Msg > n2k_msg) |
bool | HandleN2K_129540 (std::shared_ptr< const Nmea2000Msg > n2k_msg) |
bool | HandleN0183_RMC (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_HDT (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_HDG (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_HDM (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_VTG (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_GSV (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_GGA (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_GLL (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
bool | HandleN0183_AIVDO (std::shared_ptr< const Nmea0183Msg > n0183_msg) |
Processes NMEA 0183 AIVDO sentences containing own vessel's AIS data. | |
bool | HandleSignalK (std::shared_ptr< const SignalkMsg > sK_msg) |
void | OnDriverStateChange () |
void | OnWatchdogTimer (wxTimerEvent &event) |
bool | EvalPriority (std::shared_ptr< const NavMsg > msg, PriorityContainer &active_priority, std::unordered_map< std::string, int > &priority_map) |
std::string | GetPriorityKey (std::shared_ptr< const NavMsg > msg) |
std::vector< std::string > | GetPriorityMaps () |
PriorityContainer & | GetPriorityContainer (const std::string category) |
void | UpdateAndApplyMaps (std::vector< std::string > new_maps) |
bool | LoadConfig (void) |
bool | SaveConfig (void) |
Definition at line 67 of file comm_bridge.h.
CommBridge::CommBridge | ( | ) |
Definition at line 158 of file comm_bridge.cpp.
CommBridge::~CommBridge | ( | ) |
Definition at line 160 of file comm_bridge.cpp.
bool CommBridge::EvalPriority | ( | std::shared_ptr< const NavMsg > | msg, |
PriorityContainer & | active_priority, | ||
std::unordered_map< std::string, int > & | priority_map | ||
) |
Definition at line 1265 of file comm_bridge.cpp.
PriorityContainer & CommBridge::GetPriorityContainer | ( | const std::string | category | ) |
Definition at line 1151 of file comm_bridge.cpp.
std::string CommBridge::GetPriorityKey | ( | std::shared_ptr< const NavMsg > | msg | ) |
Definition at line 1230 of file comm_bridge.cpp.
std::vector< std::string > CommBridge::GetPriorityMaps | ( | ) |
Definition at line 496 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_AIVDO | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Processes NMEA 0183 AIVDO sentences containing own vessel's AIS data.
AIVDO messages provide navigation data broadcast by the vessel's own AIS transponder:
The data is evaluated against other sources based on configured priorities. If accepted, the data updates the vessel's:
n0183_msg | Shared pointer to NMEA 0183 message containing AIVDO sentence |
Definition at line 963 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_GGA | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 897 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_GLL | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 936 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_GSV | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 875 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_HDG | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 804 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_HDM | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 835 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_HDT | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 786 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_RMC | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 736 of file comm_bridge.cpp.
bool CommBridge::HandleN0183_VTG | ( | std::shared_ptr< const Nmea0183Msg > | n0183_msg | ) |
Definition at line 854 of file comm_bridge.cpp.
bool CommBridge::HandleN2K_127250 | ( | std::shared_ptr< const Nmea2000Msg > | n2k_msg | ) |
Definition at line 675 of file comm_bridge.cpp.
bool CommBridge::HandleN2K_129025 | ( | std::shared_ptr< const Nmea2000Msg > | n2k_msg | ) |
Definition at line 618 of file comm_bridge.cpp.
bool CommBridge::HandleN2K_129026 | ( | std::shared_ptr< const Nmea2000Msg > | n2k_msg | ) |
Definition at line 646 of file comm_bridge.cpp.
bool CommBridge::HandleN2K_129029 | ( | std::shared_ptr< const Nmea2000Msg > | n2k_msg | ) |
Definition at line 577 of file comm_bridge.cpp.
bool CommBridge::HandleN2K_129540 | ( | std::shared_ptr< const Nmea2000Msg > | n2k_msg | ) |
Definition at line 715 of file comm_bridge.cpp.
bool CommBridge::HandleSignalK | ( | std::shared_ptr< const SignalkMsg > | sK_msg | ) |
Definition at line 1013 of file comm_bridge.cpp.
void CommBridge::InitCommListeners | ( | ) |
Definition at line 343 of file comm_bridge.cpp.
bool CommBridge::Initialize | ( | ) |
Definition at line 162 of file comm_bridge.cpp.
bool CommBridge::LoadConfig | ( | void | ) |
Definition at line 1173 of file comm_bridge.cpp.
void CommBridge::OnDriverStateChange | ( | ) |
Definition at line 470 of file comm_bridge.cpp.
void CommBridge::OnWatchdogTimer | ( | wxTimerEvent & | event | ) |
Definition at line 224 of file comm_bridge.cpp.
bool CommBridge::SaveConfig | ( | void | ) |
Definition at line 1206 of file comm_bridge.cpp.
void CommBridge::UpdateAndApplyMaps | ( | std::vector< std::string > | new_maps | ) |
Definition at line 1167 of file comm_bridge.cpp.
ObservableListener CommBridge::driver_change_listener |
Definition at line 150 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_AIVDO |
Definition at line 146 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_GGA |
Definition at line 144 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_GLL |
Definition at line 145 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_GSV |
Definition at line 143 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_HDG |
Definition at line 140 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_HDM |
Definition at line 141 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_HDT |
Definition at line 139 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_RMC |
Definition at line 138 of file comm_bridge.h.
ObservableListener CommBridge::listener_N0183_VTG |
Definition at line 142 of file comm_bridge.h.
ObservableListener CommBridge::listener_N2K_127250 |
Definition at line 135 of file comm_bridge.h.
ObservableListener CommBridge::listener_N2K_129025 |
Definition at line 133 of file comm_bridge.h.
ObservableListener CommBridge::listener_N2K_129026 |
Definition at line 134 of file comm_bridge.h.
ObservableListener CommBridge::listener_N2K_129029 |
Definition at line 132 of file comm_bridge.h.
ObservableListener CommBridge::listener_N2K_129540 |
Definition at line 136 of file comm_bridge.h.
ObservableListener CommBridge::listener_SignalK |
Definition at line 148 of file comm_bridge.h.
CommDecoder CommBridge::m_decoder |
Definition at line 152 of file comm_bridge.h.
wxTimer CommBridge::m_watchdog_timer |
Definition at line 129 of file comm_bridge.h.
Watchdogs CommBridge::m_watchdogs |
Definition at line 128 of file comm_bridge.h.