SlaveIdentifierConfig Class Reference

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.
 
bool operator== (const SlaveIdentifierConfig &other) const
 
 SlaveIdentifierConfig ()=default
 

Friends

class ConfigParser
 
std::ostream & operator<< (std::ostream &stream, const SlaveIdentifierConfig &rhs)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SlaveIdentifierConfig()

SlaveIdentifierConfig ( )
default
+ Here is the caller graph for this function:

Member Function Documentation

◆ getName()

std::string getName ( )

Definition at line 24 of file SlaveIdentifierConfig.cpp.

+ Here is the caller graph for this function:

◆ getProductCode()

std::uint32_t getProductCode ( )

Definition at line 12 of file SlaveIdentifierConfig.cpp.

+ Here is the caller graph for this function:

◆ getSerialNumber()

std::uint32_t getSerialNumber ( )

Definition at line 18 of file SlaveIdentifierConfig.cpp.

+ Here is the caller graph for this function:

◆ getVendorID()

std::uint32_t getVendorID ( )

Definition at line 6 of file SlaveIdentifierConfig.cpp.

+ Here is the caller graph for this function:

◆ isValid()

bool isValid ( std::vector< std::string > & errorMessages)

Check if the SlaveIdentifierConfig is complete and valid.

Parameters
errorMessagesvector that receives the messages describing the cause if invalid. If true is returned then no message is appended to the vector.
Returns
iff this SlaveIdentifierConfig is valid

Definition at line 30 of file SlaveIdentifierConfig.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator==()

bool operator== ( const SlaveIdentifierConfig & other) const
inline

Definition at line 59 of file SlaveIdentifierConfig.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ ConfigParser

friend class ConfigParser
friend

Definition at line 17 of file SlaveIdentifierConfig.h.

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const SlaveIdentifierConfig & rhs )
friend

Definition at line 35 of file SlaveIdentifierConfig.h.


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