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

A generic message containing a const pointer to basically anything, the pointer neds to be casted to the proper type on the receiving side. More...

#include <comm_appmsg.h>

Inheritance diagram for CustomMsg:
AppMsg KeyProvider

Additional Inherited Members

- Public Types inherited from AppMsg
enum class  Type {
  BasicNavData , GPSWatchdog , GnssFix , AisData ,
  DataPrioNeeded , CustomMsg , Undef
}
 
- 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 inherited from AppMsg
const Type type
 
const std::string name
 
NavAddr source
 
unsigned short prio
 
- Protected Member Functions inherited from AppMsg
 AppMsg (AppMsg::Type tp, const std::string &nm, NavAddr src)
 

Detailed Description

A generic message containing a const pointer to basically anything, the pointer neds to be casted to the proper type on the receiving side.

Definition at line 230 of file comm_appmsg.h.


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