15#include "sensorring/platform/SensorringExport.hpp"
Enumeration of supported device hardware types.
DeviceType
Supported device hardware types used for device registration and grouping.
Definition DeviceType.hpp:27
@ Undefined
Undefined device type.
Definition DeviceType.hpp:39
Identifier for a device: type, human-readable name, and index.
Definition DeviceID.hpp:27
DeviceType getType() const
Returns the hardware device type.
Definition DeviceID.hpp:54
unsigned int index
Instance index when multiple devices of same type exist.
Definition DeviceID.hpp:33
DeviceType type
Hardware device type.
Definition DeviceID.hpp:30
bool isValid() const
Check if the device ID belongs to a valid device.
Definition DeviceID.hpp:62
unsigned int getIndex() const
Returns the instance index when multiple devices of the same type exist.
Definition DeviceID.hpp:58