QGIS API Documentation 3.41.0-Master (3c143d501a8)
Loading...
Searching...
No Matches
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.
 
QVariant lastValue
 Last captured sensor value stored as a QVariant.
 

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: