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

Communication driver layer. More...

#include <memory>
#include <string>
#include <unordered_map>
#include "observable.h"
#include "comm_navmsg.h"

Go to the source code of this file.

Classes

interface  DriverListener
 Interface for handling incoming messages. More...
 
class  AbstractCommDriver
 Common interface for all drivers. More...
 

Enumerations

enum class  CommStatus { Ok , NotImplemented , NotSupported , NameInUse }
 

Detailed Description

Communication driver layer.

Defines the generic driver model, messages sent to/from drivers and addresses. The driver layer is the lowest of the three layers drivers, raw messages (navmsg) and decoded application messages(appmsg).

Definition in file comm_driver.h.

Enumeration Type Documentation

◆ CommStatus

enum class CommStatus
strong

Definition at line 40 of file comm_driver.h.