QGIS API Documentation 3.41.0-Master (cea29feecf2)
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 76 of file qgsabstractsensor.h.

Member Data Documentation

◆ lastTimestamp

QDateTime QgsAbstractSensor::SensorData::lastTimestamp

Timestamp of last captured sensor value.

Definition at line 86 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 83 of file qgsabstractsensor.h.


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