sensorfw: datatypes/timedunsigned.h Source File

sensorfw

timedunsigned.h
Go to the documentation of this file.
1
26#ifndef TIMED_UNSIGNED_H
27#define TIMED_UNSIGNED_H
28
29#include <datatypes/genericdata.h>
30
34 class TimedUnsigned : public TimedData {
35public:
39 TimedUnsigned() : TimedData(0), value_(0) {}
40
47 TimedUnsigned(const quint64& timestamp, unsigned value) : TimedData(timestamp), value_(value) {}
48
49 unsigned value_;
50};
51
52 Q_DECLARE_METATYPE ( TimedUnsigned )
53
54#endif // TIMED_UNSIGNED_H
TimedData
A base class for measurement data that contain timestamp.
Definition: genericdata.h:36
TimedUnsigned
Datatype for unsigned integer value with timestamp.
Definition: timedunsigned.h:34
TimedUnsigned::value_
unsigned value_
Measurement value.
Definition: timedunsigned.h:49
TimedUnsigned::TimedUnsigned
TimedUnsigned()
Default constructor.
Definition: timedunsigned.h:39
TimedUnsigned::TimedUnsigned
TimedUnsigned(const quint64 &timestamp, unsigned value)
Constructor.
Definition: timedunsigned.h:47
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(TMatrix)
genericdata.h
Basic datatypes for filters.