#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] |
dataspeed_can_usb::MacAddr::MacAddr | ( | ) | [inline] |
dataspeed_can_usb::MacAddr::MacAddr | ( | const uint8_t * | addr | ) | [inline] |
dataspeed_can_usb::MacAddr::MacAddr | ( | uint8_t | mac0, |
uint8_t | mac1, | ||
uint8_t | mac2, | ||
uint8_t | mac3, | ||
uint8_t | mac4, | ||
uint8_t | mac5 | ||
) | [inline] |
uint8_t dataspeed_can_usb::MacAddr::mac0 | ( | ) | const [inline] |
uint8_t dataspeed_can_usb::MacAddr::mac1 | ( | ) | const [inline] |
uint8_t dataspeed_can_usb::MacAddr::mac2 | ( | ) | const [inline] |
uint8_t dataspeed_can_usb::MacAddr::mac3 | ( | ) | const [inline] |
uint8_t dataspeed_can_usb::MacAddr::mac4 | ( | ) | const [inline] |
uint8_t dataspeed_can_usb::MacAddr::mac5 | ( | ) | const [inline] |
bool dataspeed_can_usb::MacAddr::match | ( | const MacAddr & | other | ) | const [inline] |
bool dataspeed_can_usb::MacAddr::match | ( | const std::string & | str | ) | const [inline] |
std::string dataspeed_can_usb::MacAddr::toString | ( | bool | upper = false | ) | const [inline] |
bool dataspeed_can_usb::MacAddr::valid | ( | ) | const [inline] |
uint8_t dataspeed_can_usb::MacAddr::addr_[6] [private] |