Public Member Functions | Private Attributes | List of all members
dataspeed_can_usb::MacAddr Class Reference

#include <MacAddr.h>

Public Member Functions

uint8_t mac0 () const
 
uint8_t mac1 () const
 
uint8_t mac2 () const
 
uint8_t mac3 () const
 
uint8_t mac4 () const
 
uint8_t mac5 () const
 
 MacAddr ()
 
 MacAddr (const uint8_t *addr)
 
 MacAddr (uint8_t mac0, uint8_t mac1, uint8_t mac2, uint8_t mac3, uint8_t mac4, uint8_t mac5)
 
bool match (const MacAddr &other) const
 
bool match (const std::string &str) const
 
std::string toString (bool upper=false) const
 
bool valid () const
 

Private Attributes

uint8_t addr_ [6]
 

Detailed Description

Definition at line 48 of file MacAddr.h.

Constructor & Destructor Documentation

dataspeed_can_usb::MacAddr::MacAddr ( )
inline

Definition at line 50 of file MacAddr.h.

dataspeed_can_usb::MacAddr::MacAddr ( const uint8_t *  addr)
inline

Definition at line 51 of file MacAddr.h.

dataspeed_can_usb::MacAddr::MacAddr ( uint8_t  mac0,
uint8_t  mac1,
uint8_t  mac2,
uint8_t  mac3,
uint8_t  mac4,
uint8_t  mac5 
)
inline

Definition at line 52 of file MacAddr.h.

Member Function Documentation

uint8_t dataspeed_can_usb::MacAddr::mac0 ( ) const
inline

Definition at line 114 of file MacAddr.h.

uint8_t dataspeed_can_usb::MacAddr::mac1 ( ) const
inline

Definition at line 115 of file MacAddr.h.

uint8_t dataspeed_can_usb::MacAddr::mac2 ( ) const
inline

Definition at line 116 of file MacAddr.h.

uint8_t dataspeed_can_usb::MacAddr::mac3 ( ) const
inline

Definition at line 117 of file MacAddr.h.

uint8_t dataspeed_can_usb::MacAddr::mac4 ( ) const
inline

Definition at line 118 of file MacAddr.h.

uint8_t dataspeed_can_usb::MacAddr::mac5 ( ) const
inline

Definition at line 119 of file MacAddr.h.

bool dataspeed_can_usb::MacAddr::match ( const MacAddr other) const
inline

Definition at line 76 of file MacAddr.h.

bool dataspeed_can_usb::MacAddr::match ( const std::string &  str) const
inline

Definition at line 87 of file MacAddr.h.

std::string dataspeed_can_usb::MacAddr::toString ( bool  upper = false) const
inline

Definition at line 64 of file MacAddr.h.

bool dataspeed_can_usb::MacAddr::valid ( ) const
inline

Definition at line 60 of file MacAddr.h.

Member Data Documentation

uint8_t dataspeed_can_usb::MacAddr::addr_[6]
private

Definition at line 121 of file MacAddr.h.


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


dataspeed_can_usb
Author(s): Kevin Hallenbeck
autogenerated on Thu Jul 9 2020 03:42:00