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

A parsed, raw SignalK message. More...

#include <comm_navmsg.h>

Inheritance diagram for SignalkMsg:
NavMsg KeyProvider

Public Member Functions

 SignalkMsg (std::string _context_self, std::string _context, std::string _raw_message)
 
std::string key () const
 
- Public Member Functions inherited from NavMsg
virtual std::string key () const =0
 
virtual std::string to_string () const
 
std::string GetKey () const
 Return key used to listen and notify. More...
 
virtual std::string GetKey () const =0
 Return key used to listen and notify. More...
 

Public Attributes

struct in_addr dest
 
struct in_addr src
 
std::string context_self
 
std::string context
 
std::string raw_message
 
std::vector< std::string > errors
 
std::vector< std::string > warnings
 
- 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

A parsed, raw SignalK message.

Definition at line 283 of file comm_navmsg.h.

Constructor & Destructor Documentation

◆ SignalkMsg() [1/2]

SignalkMsg::SignalkMsg ( )
inline

Definition at line 285 of file comm_navmsg.h.

◆ SignalkMsg() [2/2]

SignalkMsg::SignalkMsg ( std::string  _context_self,
std::string  _context,
std::string  _raw_message 
)
inline

Definition at line 288 of file comm_navmsg.h.

Member Function Documentation

◆ key()

std::string SignalkMsg::key ( ) const
inlinevirtual

Implements NavMsg.

Definition at line 306 of file comm_navmsg.h.

Member Data Documentation

◆ context

std::string SignalkMsg::context

Definition at line 301 of file comm_navmsg.h.

◆ context_self

std::string SignalkMsg::context_self

Definition at line 300 of file comm_navmsg.h.

◆ dest

struct in_addr SignalkMsg::dest

Definition at line 298 of file comm_navmsg.h.

◆ errors

std::vector<std::string> SignalkMsg::errors

Definition at line 304 of file comm_navmsg.h.

◆ raw_message

std::string SignalkMsg::raw_message

Definition at line 302 of file comm_navmsg.h.

◆ src

struct in_addr SignalkMsg::src

Definition at line 299 of file comm_navmsg.h.

◆ warnings

std::vector<std::string> SignalkMsg::warnings

Definition at line 305 of file comm_navmsg.h.


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