74 Log.info(
"Creating PIR sensor");
87 Log.error(
"Sensor type %d not yet implemented", (
int)type);
115 default:
return "Unknown";
SensorType
Enumeration of available sensor types (backward-compatible IDs).
@ PIR
Pedestrian Infrared Sensor.
Abstract interface for all sensors.
static PIRSensor & instance()
Get singleton instance.
Factory for creating sensor instances.
static ISensor * createSensor(SensorType type)
Create a sensor instance based on the specified type.
static const char * getSensorTypeName(SensorType type)
Get sensor type name as string.