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

NMEA2000 sent/received address, an address (possibly wildcard) More...

#include <comm_navmsg.h>

Inheritance diagram for NavAddr2000:
NavAddr

Public Member Functions

 NavAddr2000 (const std::string &iface, const N2kName &_name)
 
 NavAddr2000 (const std::string &iface, unsigned char _address)
 
std::string to_string () const
 
- Public Member Functions inherited from NavAddr
 NavAddr (Bus b, const std::string &i)
 
std::string to_string () const
 

Public Attributes

const N2kName name
 
unsigned char address
 
- Public Attributes inherited from NavAddr
Bus bus
 
const std::string iface
 Physical device for 0183, else a unique string. More...
 

Additional Inherited Members

- Public Types inherited from NavAddr
enum class  Bus {
  N0183 , Signalk , N2000 , Onenet ,
  TestBus , Undef
}
 
- Static Public Member Functions inherited from NavAddr
static std::string BusToString (Bus b)
 
static Bus StringToBus (const std::string &s)
 

Detailed Description

NMEA2000 sent/received address, an address (possibly wildcard)

Definition at line 163 of file comm_navmsg.h.

Constructor & Destructor Documentation

◆ NavAddr2000() [1/2]

NavAddr2000::NavAddr2000 ( const std::string &  iface,
const N2kName _name 
)
inline

Definition at line 165 of file comm_navmsg.h.

◆ NavAddr2000() [2/2]

NavAddr2000::NavAddr2000 ( const std::string &  iface,
unsigned char  _address 
)
inline

Definition at line 168 of file comm_navmsg.h.

Member Function Documentation

◆ to_string()

std::string NavAddr2000::to_string ( ) const
inline

Definition at line 171 of file comm_navmsg.h.

Member Data Documentation

◆ address

unsigned char NavAddr2000::address

Definition at line 174 of file comm_navmsg.h.

◆ name

const N2kName NavAddr2000::name

Definition at line 173 of file comm_navmsg.h.


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