|
| HardwareSettings () |
| The default constructor.
|
|
virtual | ~HardwareSettings () |
| Destructor.
|
|
| HardwareSettings (const BusSettings &bus, const std::map< int, LedSettings > &leds, const std::map< int, ButtonSettings > &buttons) |
| The constructor for the HardwareSettings class takes three parameters. More...
|
|
| HardwareSettings (const HardwareSettings &other) |
| Copy Constructor.
|
|
| HardwareSettings (HardwareSettings &&other) |
| Move Constructor after the move, other is null, other.clear() must be called if it is to be used again.
|
|
HardwareSettings & | operator= (const HardwareSettings &other) |
| Sets the HardwareSettings object to be equal to other.
|
|
HardwareSettings & | operator= (HardwareSettings &&other) |
| Move assignment after the move, other is null, other.clear() must be called if it is to be used again.
|
|
void | clear () |
| Clears the HardwareSettings object After the call to this function, the HardwareSettings object is the same as one that has been default constructed.
|
|
bool | isNull () const |
| Returns true if the object is null (i.e. it has not been initialized, d_ptr is null)
|
|
bool | isEmpty () const |
| Checks if all attributes are set to their default values (same as the default constructor)
|
|
bool | operator== (const HardwareSettings &other) const |
| Checks if the two objects are equal.
|
|
bool | operator!= (const HardwareSettings &other) const |
| Checks if the two objects are not equal.
|
|
const BusSettings & | bus () const |
| Returns the bus settings.
|
|
const std::map< int, LedSettings > & | leds () const |
| Returns the led settings as a map.
|
|
const std::map< int, ButtonSettings > & | buttons () const |
| Returns the button settings as a map.
|
|
void | print (Print &out) const |
| Prints the object to the Print interface. More...
|
|
This class represents the hardware settings of a SpaIot device.
This class is copyable and movable.