24#ifndef _COMMN0183_OUT_H
25#define _COMMN0183_OUT_H
43#define ERR_GARMIN_INITIALIZE -1
47#define ERR_GARMIN_SEND_MESSAGE -2
51#define ERR_GPS_DRIVER_NOT_AVAILAIBLE -3
53void BroadcastNMEA0183Message(
const wxString& msg,
NmeaLog* nmea_log,
58 std::function<void(
int)> set_value;
59 std::function<void(
int)> set_range;
60 std::function<void(
void)> pulse;
61 std::function<void(
const std::string&)> set_message;
62 std::function<bool()> confirm_overwrite;
65 : set_value([](
int) {}),
66 set_range([](
int) {}),
68 set_message([](
const std::string&) {}),
69 confirm_overwrite([]() {
return true; }) {}
72int SendRouteToGPS_N0183(
Route* pr,
const wxString& com_name,
76int SendWaypointToGPS_N0183(
RoutePoint* prp,
const wxString& com_name,
Generic event handling between MVC Model and Controller based on a shared EventVar variable.
Handle logging and forwarding of incoming n0183/n2k messages.
Represents a waypoint or mark within the navigation system.
Represents a navigational route in the navigation system.
Multiplexer class and helpers.
Basic DataMonitor logging interface: LogLine (reflects a line in the log) and NmeaLog,...
A common variable shared between producer and consumer which supports Listen() and Notify().
Waypoint or mark abstraction.