OpenCPN Partial API docs
Loading...
Searching...
No Matches
GPSWatchdogMsg Class Reference

Watchdog message, normally created in CommBridge from wxTimer events. More...

#include <comm_appmsg.h>

Inheritance diagram for GPSWatchdogMsg:
AppMsg KeyProvider

Public Types

enum class  WDSource {
  position , velocity , heading , var ,
  sats
}
 
- Public Types inherited from AppMsg
enum class  Type {
  BasicNavData , GPSWatchdog , GnssFix , AisData ,
  DataPrioNeeded , CustomMsg , Undef
}
 

Public Member Functions

 GPSWatchdogMsg (WDSource _source, int value)
 
- Public Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type t)
 
virtual std::string key () const
 
std::string GetKey () const
 Return key used to listen and notify. More...
 
std::string TypeToString (const Type t) const
 
virtual std::string GetKey () const =0
 Return key used to listen and notify. More...
 

Public Attributes

const int gps_watchdog
 
const WDSource wd_source
 
- Public Attributes inherited from AppMsg
const Type type
 
const std::string name
 
NavAddr source
 
unsigned short prio
 

Additional Inherited Members

- Protected Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type tp, const std::string &nm, NavAddr src)
 

Detailed Description

Watchdog message, normally created in CommBridge from wxTimer events.

Definition at line 192 of file comm_appmsg.h.

Member Enumeration Documentation

◆ WDSource

enum class GPSWatchdogMsg::WDSource
strong

Definition at line 194 of file comm_appmsg.h.

Constructor & Destructor Documentation

◆ GPSWatchdogMsg()

GPSWatchdogMsg::GPSWatchdogMsg ( WDSource  _source,
int  value 
)
inline

Definition at line 196 of file comm_appmsg.h.

Member Data Documentation

◆ gps_watchdog

const int GPSWatchdogMsg::gps_watchdog

Definition at line 203 of file comm_appmsg.h.

◆ wd_source

const WDSource GPSWatchdogMsg::wd_source

Definition at line 204 of file comm_appmsg.h.


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