OpenCPN Partial API docs
Loading...
Searching...
No Matches
DriverStats Struct Reference

Driver statistics report. More...

#include <comm_drv_stats.h>

Public Member Functions

 DriverStats ()
 Is driver device available?
 

Public Attributes

NavAddr::Bus driver_bus
 
std::string driver_iface
 
unsigned rx_count
 Number of bytes received since program start.
 
unsigned tx_count
 Number of bytes sent since program start.
 
unsigned error_count
 Number of detected errors since program start.
 
bool available
 

Detailed Description

Driver statistics report.

Definition at line 38 of file comm_drv_stats.h.

Constructor & Destructor Documentation

◆ DriverStats()

DriverStats::DriverStats ( )
inline

Is driver device available?

Definition at line 45 of file comm_drv_stats.h.

Member Data Documentation

◆ available

bool DriverStats::available

Definition at line 44 of file comm_drv_stats.h.

◆ driver_bus

NavAddr::Bus DriverStats::driver_bus

Definition at line 39 of file comm_drv_stats.h.

◆ driver_iface

std::string DriverStats::driver_iface

Definition at line 40 of file comm_drv_stats.h.

◆ error_count

unsigned DriverStats::error_count

Number of detected errors since program start.

Definition at line 43 of file comm_drv_stats.h.

◆ rx_count

unsigned DriverStats::rx_count

Number of bytes received since program start.

Definition at line 41 of file comm_drv_stats.h.

◆ tx_count

unsigned DriverStats::tx_count

Number of bytes sent since program start.

Definition at line 42 of file comm_drv_stats.h.


The documentation for this struct was generated from the following file: