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

class  DriverListener
 Interface implemented by transport layer and possible other parties like test code which should handle 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.

Macro Definition Documentation

◆ _DRIVER_API_H

#define _DRIVER_API_H

Definition at line 38 of file comm_driver.h.

Enumeration Type Documentation

◆ CommStatus

enum class CommStatus
strong

Definition at line 40 of file comm_driver.h.