OpenCPN Partial API docs
Loading...
Searching...
No Matches
comm_n0183_output.h File Reference

NMEA Data Multiplexer Object. More...

#include <functional>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include "model/nmea_log.h"
#include "model/multiplexer.h"
#include "model/route.h"
#include "model/route_point.h"
#include "observable_evtvar.h"

Go to the source code of this file.

Classes

class  N0183DlgCtx
 

Macros

#define ERR_GARMIN_INITIALIZE   -1
 Failed to initialize Garmin device.
 
#define ERR_GARMIN_SEND_MESSAGE   -2
 Failed to send message to Garmin device.
 
#define ERR_GPS_DRIVER_NOT_AVAILAIBLE   -3
 GPS driver not available.
 

Functions

void BroadcastNMEA0183Message (const wxString &msg, NmeaLog *nmea_log, EventVar &on_msg_sent)
 
int SendRouteToGPS_N0183 (Route *pr, const wxString &com_name, bool bsend_waypoints, Multiplexer &multiplexer, N0183DlgCtx ctx)
 
int SendWaypointToGPS_N0183 (RoutePoint *prp, const wxString &com_name, Multiplexer &multiplexer, N0183DlgCtx ctx)
 

Detailed Description

NMEA Data Multiplexer Object.

Definition in file comm_n0183_output.h.

Macro Definition Documentation

◆ ERR_GARMIN_INITIALIZE

#define ERR_GARMIN_INITIALIZE   -1

Failed to initialize Garmin device.

Definition at line 43 of file comm_n0183_output.h.

◆ ERR_GARMIN_SEND_MESSAGE

#define ERR_GARMIN_SEND_MESSAGE   -2

Failed to send message to Garmin device.

Definition at line 47 of file comm_n0183_output.h.

◆ ERR_GPS_DRIVER_NOT_AVAILAIBLE

#define ERR_GPS_DRIVER_NOT_AVAILAIBLE   -3

GPS driver not available.

Definition at line 51 of file comm_n0183_output.h.

Function Documentation

◆ BroadcastNMEA0183Message()

void BroadcastNMEA0183Message ( const wxString &  msg,
NmeaLog nmea_log,
EventVar on_msg_sent 
)

Definition at line 65 of file comm_n0183_output.cpp.

◆ SendRouteToGPS_N0183()

int SendRouteToGPS_N0183 ( Route pr,
const wxString &  com_name,
bool  bsend_waypoints,
Multiplexer multiplexer,
N0183DlgCtx  ctx 
)

Definition at line 352 of file comm_n0183_output.cpp.

◆ SendWaypointToGPS_N0183()

int SendWaypointToGPS_N0183 ( RoutePoint prp,
const wxString &  com_name,
Multiplexer multiplexer,
N0183DlgCtx  ctx 
)

Definition at line 850 of file comm_n0183_output.cpp.