34#include <NDEVR/Battery.h>
35#include <NDEVR/Button.h>
36#include <NDEVR/Dictionary.h>
37#include <NDEVR/UUID.h>
Listens for changes to a Battery and reports an error to the user when thresholds are crossed.
Definition BatteryWidget.h:50
void stateChangeSlot(bool originator)
Dictionary< UUID, QPointer< Battery > > m_sensors
Definition BatteryWidget.h:60
static BatteryAlertWatcher & Default()
void removeSensors(const Buffer< Battery * > &sensors)
void addSensors(const Buffer< Battery * > &sensors)
A device which has an accociated voltage or percent that changes. Can have set upper and lower limits...
Definition Battery.h:83
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:54
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96