See: https://github.com/OpenCPN/OpenCPN/issues/2729#issuecomment-1179506343.
More...
#include <comm_navmsg.h>
|
| Nmea2000Msg (const uint64_t _pgn) |
|
| Nmea2000Msg (const uint64_t _pgn, std::shared_ptr< const NavAddr2000 > src) |
|
| Nmea2000Msg (const uint64_t _pgn, const std::vector< unsigned char > &_payload, std::shared_ptr< const NavAddr2000 > src) |
|
| Nmea2000Msg (const uint64_t _pgn, const std::vector< unsigned char > &_payload, std::shared_ptr< const NavAddr2000 > src, int _priority) |
|
std::string | key () const |
| Return unique key used by observable to notify/listen.
|
|
std::string | to_string () const |
| Print "bus key id payload".
|
|
std::string | GetKey () const |
| Alias for key().
|
|
|
N2kPGN | PGN |
|
std::vector< unsigned char > | payload |
|
int | priority |
|
const NavAddr::Bus | bus |
|
std::shared_ptr< const NavAddr > | source |
| Source address is set by drivers when receiving, unused and should be empty when sending.
|
|
|
| NavMsg (const NavAddr::Bus &_bus, std::shared_ptr< const NavAddr > src) |
|
◆ Nmea2000Msg() [1/4]
Nmea2000Msg::Nmea2000Msg |
( |
const uint64_t |
_pgn | ) |
|
|
inline |
◆ Nmea2000Msg() [2/4]
Nmea2000Msg::Nmea2000Msg |
( |
const uint64_t |
_pgn, |
|
|
std::shared_ptr< const NavAddr2000 > |
src |
|
) |
| |
|
inline |
◆ Nmea2000Msg() [3/4]
Nmea2000Msg::Nmea2000Msg |
( |
const uint64_t |
_pgn, |
|
|
const std::vector< unsigned char > & |
_payload, |
|
|
std::shared_ptr< const NavAddr2000 > |
src |
|
) |
| |
|
inline |
◆ Nmea2000Msg() [4/4]
Nmea2000Msg::Nmea2000Msg |
( |
const uint64_t |
_pgn, |
|
|
const std::vector< unsigned char > & |
_payload, |
|
|
std::shared_ptr< const NavAddr2000 > |
src, |
|
|
int |
_priority |
|
) |
| |
|
inline |
◆ key()
std::string Nmea2000Msg::key |
( |
| ) |
const |
|
inlinevirtual |
Return unique key used by observable to notify/listen.
Implements NavMsg.
Definition at line 264 of file comm_navmsg.h.
◆ to_string()
std::string Nmea2000Msg::to_string |
( |
| ) |
const |
|
virtual |
◆ payload
std::vector<unsigned char> Nmea2000Msg::payload |
◆ PGN
◆ priority
int Nmea2000Msg::priority |
The documentation for this class was generated from the following files: