16#ifndef QGSSENSORMANAGER_H
17#define QGSSENSORMANAGER_H
62 QList<QgsAbstractSensor *> sensors()
const;
84 bool removeSensor(
const QString &
id );
89 QStringList sensorNames()
const;
99 QMap<QString, QgsAbstractSensor::SensorData> sensorsData()
const;
106 bool readXml(
const QDomElement &element,
const QDomDocument &document );
112 QDomElement writeXml( QDomDocument &document )
const;
139 void handleSensorNameChanged();
140 void handleSensorStatusChanged();
141 void captureSensorData();
142 void handleSensorErrorOccurred(
const QString &errorMessage );
146 QList<QgsAbstractSensor *> mSensors;
147 QMap<QString, QgsAbstractSensor::SensorData> mSensorsData;
An abstract base class for sensor classes.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
void sensorRemoved(const QString &id)
Emitted when a sensor has been removed.
void sensorErrorOccurred(const QString &id)
Emitted when a sensor error has occurred.
void sensorNameChanged(const QString &id)
Emitted when a sensor name has changed.
void sensorDataCaptured(const QString &id)
Emitted when newly captured data from a sensor has occurred.
void sensorAdded(const QString &id)
Emitted when a sensor has been registered.
void sensorAboutToBeRemoved(const QString &id)
Emitted when a sensor is about to be removed.
void sensorStatusChanged(const QString &id)
Emitted when a sensor status has changed.
Contains details of a sensor data capture.