Go to the documentation of this file.
15 #ifndef DOXYGEN_OMIT_INTERNAL
22 #endif // DOXYGEN_OMIT_INTERNAL
45 static MacAddress fromBytes(uint8_t a, uint8_t b, uint8_t c, uint8_t d, uint8_t e, uint8_t f);
59 const uint8_t&
operator[](std::size_t idx)
const;
uint8_t & operator[](std::size_t idx)
static bool isHexDigitValid(char c)
static uint8_t hexToInt(char c)
static bool isHexStringValid(std::string mac_str)
Is mac_str a valid string of format dd:dd:dd:dd:dd:dd, where 'd' is a hex digit 0-F....
A simple wrapper class for internal C-API HebiMacAddress objects to allow interfacing with API calls ...
MacAddress()
Creates MAC address 00:00:00:00:00:00.
static uint8_t byteFromHexPair(char c1, char c2)
static MacAddress fromBytes(uint8_t a, uint8_t b, uint8_t c, uint8_t d, uint8_t e, uint8_t f)
Creates a MacAddress from individual bytes.
bool setToHexString(std::string mac_str)
Sets the value of the current MacAddress to the value given in 'mac_str'.
hebi_cpp_api_ros
Author(s): Chris Bollinger
, Matthew Tesch
autogenerated on Fri Aug 2 2024 08:35:18