|
Data structure holding the information necessary to create a SlaveIdentifier. More...
#include <armarx/control/hardware_config/SlaveIdentifierConfig.h>
Public Member Functions | |
std::string | getName () |
std::uint32_t | getProductCode () |
std::uint32_t | getSerialNumber () |
std::uint32_t | getVendorID () |
bool | isValid (std::vector< std::string > &errorMessages) |
Check if the SlaveIdentifierConfig is complete and valid. More... | |
bool | operator== (const SlaveIdentifierConfig &other) const |
SlaveIdentifierConfig ()=default | |
Friends | |
class | ConfigParser |
std::ostream & | operator<< (std::ostream &stream, const SlaveIdentifierConfig &rhs) |
Data structure holding the information necessary to create a SlaveIdentifier.
Can be printed to streams and compared for equality.
Definition at line 15 of file SlaveIdentifierConfig.h.
|
default |
std::string getName | ( | ) |
Definition at line 24 of file SlaveIdentifierConfig.cpp.
std::uint32_t getProductCode | ( | ) |
Definition at line 12 of file SlaveIdentifierConfig.cpp.
std::uint32_t getSerialNumber | ( | ) |
Definition at line 18 of file SlaveIdentifierConfig.cpp.
std::uint32_t getVendorID | ( | ) |
bool isValid | ( | std::vector< std::string > & | errorMessages | ) |
Check if the SlaveIdentifierConfig is complete and valid.
errorMessages | vector that receives the messages describing the cause if invalid. If true is returned then no message is appended to the vector. |
Definition at line 30 of file SlaveIdentifierConfig.cpp.
|
inline |
Definition at line 59 of file SlaveIdentifierConfig.h.
|
friend |
Definition at line 17 of file SlaveIdentifierConfig.h.
|
friend |
Definition at line 36 of file SlaveIdentifierConfig.h.