sensorfw
tapdata.h
Go to the documentation of this file.
1
25
26#ifndef TAPDATA_H
27#define TAPDATA_H
28
30
36class TapData : public TimedData {
37public:
54
58 enum Type
59 {
62 };
63
66
71
78 TapData(const quint64& timestamp, Direction direction, Type type) :
79 TimedData(timestamp), direction_(direction), type_(type) {}
80};
81
82#endif // TAPDATA_H
TapData()
Constructor.
Definition tapdata.h:70
Type
Type of tap.
Definition tapdata.h:59
@ SingleTap
Single tap.
Definition tapdata.h:61
@ DoubleTap
Double tap.
Definition tapdata.h:60
TapData::Direction direction_
Direction of tap.
Definition tapdata.h:64
TapData(const quint64 &timestamp, Direction direction, Type type)
Constructor.
Definition tapdata.h:78
Direction
Direction of tap.
Definition tapdata.h:43
@ BottomTop
Tapped from bottom to top.
Definition tapdata.h:50
@ RightLeft
Tapped from right to left.
Definition tapdata.h:48
@ Y
Top or down side tapped.
Definition tapdata.h:45
@ LeftRight
Tapped from left to right.
Definition tapdata.h:47
@ BackFace
Tapped from back to face.
Definition tapdata.h:52
@ TopBottom
Tapped from top to bottom.
Definition tapdata.h:49
@ X
Left or right side tapped.
Definition tapdata.h:44
@ FaceBack
Tapped from face to back.
Definition tapdata.h:51
@ Z
Face or bottom tapped.
Definition tapdata.h:46
TapData::Type type_
Type of tap.
Definition tapdata.h:65
TimedData(const quint64 &timestamp)
Constructor.
Definition genericdata.h:44
Basic datatypes for filters.