OpenCPN Partial API docs
comm_drv_n0183_serial.cpp File Reference

Implement comm_drv_n0183_serial.h. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include <mutex>
#include <queue>
#include <thread>
#include <vector>
#include <wx/event.h>
#include <wx/log.h>
#include <wx/string.h>
#include <wx/utils.h>
#include "config.h"
#include "model/comm_drv_n0183_serial.h"
#include "model/comm_navmsg_bus.h"
#include "model/comm_drv_registry.h"
#include "model/logger.h"
#include "model/sys_events.h"
#include "model/wait_continue.h"
#include "observable.h"
#include "serial/serial.h"

Go to the source code of this file.

Classes

class  n0183_atomic_queue< T >
 
class  CommDriverN0183SerialThread
 
class  circular_buffer< T >
 

Macros

#define MAX_OUT_QUEUE_MESSAGE_LENGTH   100
 
#define OUT_QUEUE_LENGTH   20
 
#define MAX_OUT_QUEUE_MESSAGE_LENGTH   100
 
#define DS_RX_BUFFER_SIZE   4096
 

Typedefs

typedef enum DS_ENUM_BUFFER_STATE _DS_ENUM_BUFFER_STATE
 

Enumerations

enum  DS_ENUM_BUFFER_STATE {
  DS_RX_BUFFER_EMPTY , DS_RX_BUFFER_FULL , DS_RX_BUFFER_EMPTY , DS_RX_BUFFER_FULL ,
  DS_RX_BUFFER_EMPTY , DS_RX_BUFFER_FULL
}
 

Functions

 wxDEFINE_EVENT (wxEVT_COMMDRIVER_N0183_SERIAL, CommDriverN0183SerialEvent)
 

Detailed Description

Implement comm_drv_n0183_serial.h.

Definition in file comm_drv_n0183_serial.cpp.