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

Abstract N0183 serial communications interface. More...

#include "config.h"
#include <atomic>
#include <memory>
#include <functional>
#include <wx/string.h>
#include "comm_buffers.h"
#include "model/logger.h"
#include "model/thread_ctrl.h"
#include "model/ocpn_utils.h"
#include "model/comm_drv_stats.h"

Go to the source code of this file.

Classes

class  SerialIo
 Nmea0183 serial communications wrapper, possibly running a thread. More...
 

Typedefs

using SendMsgFunc = std::function< void(const std::vector< unsigned char > &)>
 Forwards data from driver to local receivers (main code, plugins, etc).
 

Detailed Description

Abstract N0183 serial communications interface.

Definition in file serial_io.h.

Typedef Documentation

◆ SendMsgFunc

using SendMsgFunc = std::function<void(const std::vector<unsigned char>&)>

Forwards data from driver to local receivers (main code, plugins, etc).

Definition at line 51 of file serial_io.h.