| 
    QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
    
   | 
 
Convenience metadata class that uses static functions to create sensors and their configuration widgets. More...
#include <qgssensorregistry.h>

Public Member Functions | |
| QgsSensorMetadata (const QString &type, const QString &visibleName, const QgsSensorCreateFunc &pfCreate) | |
| Constructor for QgsSensorMetadata with the specified class type.  More... | |
| QgsSensorCreateFunc | createFunction () const | 
| Returns the classes' sensor creation function.  More... | |
| QgsAbstractSensor * | createSensor (QObject *parent) override | 
| Creates a sensor of this class.  More... | |
  Public Member Functions inherited from QgsSensorAbstractMetadata | |
| 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... | |
Protected Attributes | |
| QgsSensorCreateFunc | mCreateFunc = nullptr | 
Convenience metadata class that uses static functions to create sensors and their configuration widgets.
Definition at line 92 of file qgssensorregistry.h.
      
  | 
  inline | 
Constructor for QgsSensorMetadata with the specified class type.
Definition at line 99 of file qgssensorregistry.h.
      
  | 
  inline | 
Returns the classes' sensor creation function.
Definition at line 108 of file qgssensorregistry.h.
      
  | 
  inlineoverridevirtual | 
Creates a sensor of this class.
Implements QgsSensorAbstractMetadata.
Definition at line 110 of file qgssensorregistry.h.
      
  | 
  protected | 
Definition at line 113 of file qgssensorregistry.h.