sensorfw
TimedUnsigned Class Reference

Datatype for unsigned integer value with timestamp. More...

#include <timedunsigned.h>

Inheritance diagram for TimedUnsigned:
TimedData ProximityData

Public Member Functions

 TimedUnsigned ()
 Default constructor. More...
 
 TimedUnsigned (const quint64 &timestamp, unsigned value)
 Constructor. More...
 
- Public Member Functions inherited from TimedData
 TimedData (const quint64 &timestamp)
 Constructor. More...
 

Public Attributes

unsigned value_
 Measurement value. More...
 
- Public Attributes inherited from TimedData
quint64 timestamp_
 monotonic time (microsec) More...
 

Detailed Description

Datatype for unsigned integer value with timestamp.

Definition at line 34 of file timedunsigned.h.

Constructor & Destructor Documentation

◆ TimedUnsigned() [1/2]

TimedUnsigned::TimedUnsigned ( )
inline

Default constructor.

Definition at line 39 of file timedunsigned.h.

◆ TimedUnsigned() [2/2]

TimedUnsigned::TimedUnsigned ( const quint64 &  timestamp,
unsigned  value 
)
inline

Constructor.

Parameters
timestamptimestamp as monotonic time (microsec).
valuevalue of the measurement.

Definition at line 47 of file timedunsigned.h.

Member Data Documentation

◆ value_

unsigned TimedUnsigned::value_

Measurement value.

Definition at line 49 of file timedunsigned.h.


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