QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
virtual | ~QgsSensorAbstractMetadata ()=default |
virtual QgsAbstractSensor * | createSensor (QObject *parent)=0 |
Creates a sensor of this class. | |
QString | type () const |
Returns the unique type code for the sensor class. | |
QString | visibleName () const |
Returns a translated, user visible name for the sensor class. | |
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.