QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Attributes | List of all members
QgsAbstractSensor::SensorData Struct Reference

Contains details of a sensor data capture. More...

#include <qgsabstractsensor.h>

Public Attributes

QDateTime lastTimestamp
 Timestamp of last captured sensor value. More...
 
QVariant lastValue
 Last captured sensor value stored as a QVariant. More...
 

Detailed Description

Contains details of a sensor data capture.

Definition at line 78 of file qgsabstractsensor.h.

Member Data Documentation

◆ lastTimestamp

QDateTime QgsAbstractSensor::SensorData::lastTimestamp

Timestamp of last captured sensor value.

Definition at line 88 of file qgsabstractsensor.h.

◆ lastValue

QVariant QgsAbstractSensor::SensorData::lastValue

Last captured sensor value stored as a QVariant.

Note
The member can store multiple values if the sensor passes on a QVariantMap.

Definition at line 85 of file qgsabstractsensor.h.


The documentation for this struct was generated from the following file: