QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
Stores metadata about a sensor class. More...
#include <qgssensorregistry.h>
Public Member Functions | |
QgsSensorAbstractMetadata (const QString &type, const QString &visibleName) | |
Constructor for QgsSensorAbstractMetadata with the specified class type. More... | |
virtual | ~QgsSensorAbstractMetadata ()=default |
virtual QgsAbstractSensor * | createSensor (QObject *parent)=0 |
Creates a sensor of this class. More... | |
QString | type () const |
Returns the unique type code for the sensor class. More... | |
QString | visibleName () const |
Returns a translated, user visible name for the sensor class. More... | |
Stores metadata about a sensor class.
Definition at line 31 of file qgssensorregistry.h.
|
inline |
Constructor for QgsSensorAbstractMetadata with the specified class type.
Definition at line 38 of file qgssensorregistry.h.
|
virtualdefault |
|
pure virtual |
Creates a sensor of this class.
Implemented in QgsSensorMetadata.
|
inline |
Returns the unique type code for the sensor class.
Definition at line 48 of file qgssensorregistry.h.
|
inline |
Returns a translated, user visible name for the sensor class.
Definition at line 53 of file qgssensorregistry.h.