90 [[nodiscard]]
virtual const std::string &
get_name()
const = 0;
The Device class is the base class for devices supported by the device library.
virtual float get_power() const =0
Get power consumption details for the device.
virtual const std::string & get_name() const =0
Get device name.
BaseData base_
Device base data.
virtual DeviceType get_type() const =0
Get device type.
virtual ~Device()=default
Device destructor.
const UID & get_uid() const
Get device UID.
auto & get_tags()
Get tags used by the device.
Class definition for core library basic entities.
DeviceType
The DeviceType class defines IDs of supported device types.