26#ifndef _COMMN0183_OUT_H
27#define _COMMN0183_OUT_H
33#include "model/nmea_log.h"
34#include "model/multiplexer.h"
35#include "observable_evtvar.h"
47#define ERR_GARMIN_INITIALIZE -1
51#define ERR_GARMIN_SEND_MESSAGE -2
55#define ERR_GPS_DRIVER_NOT_AVAILAIBLE -3
57void BroadcastNMEA0183Message(
const wxString& msg,
NmeaLog* nmea_log,
62 std::function<void(
int)> set_value;
63 std::function<void(
int)> set_range;
64 std::function<void(
void)> pulse;
65 std::function<void(
const std::string&)> set_message;
66 std::function<bool()> confirm_overwrite;
69 : set_value([](
int) {}),
70 set_range([](
int) {}),
72 set_message([](
const std::string&) {}),
73 confirm_overwrite([]() {
return true; }) {}
76int SendRouteToGPS_N0183(
Route* pr,
const wxString& com_name,
80int SendWaypointToGPS_N0183(
RoutePoint* prp,
const wxString& com_name,
Generic event handling between MVC Model and Controller based on a shared EventVar variable.
Represents a waypoint or mark within the navigation system.
Represents a navigational route in the navigation system.