OpenCPN Partial API docs
Nmea2000Msg Class Reference

See: https://github.com/OpenCPN/OpenCPN/issues/2729#issuecomment-1179506343. More...

#include <comm_navmsg.h>

Inheritance diagram for Nmea2000Msg:
NavMsg KeyProvider

Public Member Functions

 Nmea2000Msg (const uint64_t _pgn)
 
 Nmea2000Msg (const uint64_t _pgn, std::shared_ptr< const NavAddr > src)
 
 Nmea2000Msg (const uint64_t _pgn, const std::vector< unsigned char > &_payload, std::shared_ptr< const NavAddr > src)
 
 Nmea2000Msg (const uint64_t _pgn, const std::vector< unsigned char > &_payload, std::shared_ptr< const NavAddr > src, int _priority)
 
std::string key () const
 
std::string to_string () const
 Print "bus key id payload".
 
- Public Member Functions inherited from NavMsg
std::string GetKey () const
 

Public Attributes

N2kPGN PGN
 
std::vector< unsigned char > payload
 
int priority
 
- Public Attributes inherited from NavMsg
const NavAddr::Bus bus
 
std::shared_ptr< const NavAddrsource
 

Additional Inherited Members

- Protected Member Functions inherited from NavMsg
 NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src)
 

Detailed Description


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