16#ifndef QGSSENSORREGISTRY_H
17#define QGSSENSORREGISTRY_H
40 , mVisibleName( visibleName )
48 QString
type()
const {
return mType; }
102 , mCreateFunc( pfCreate )
190 bool removeSensorType(
const QString &type );
200 QMap<QString, QString> sensorTypes() const;
208 void sensorAdded( const QString &type, const QString &name );
216 QMap<QString, QgsSensorAbstractMetadata *> mMetadata;
An abstract base class for sensor classes.
Registry of available sensor types.
QgsSensorRegistry & operator=(const QgsSensorRegistry &rh)=delete
QgsSensorRegistry cannot be copied.
QgsSensorRegistry(const QgsSensorRegistry &rh)=delete
QgsSensorRegistry cannot be copied.
std::function< QgsAbstractSensor *(QObject *parent)> QgsSensorCreateFunc
Sensor creation function.