QGIS API Documentation 3.41.0-Master (45a0abf3bec)
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: