Sensor for accessing wakeup sensor events.
More...
#include <wakeupsensor.h>
Sensor for accessing wakeup sensor events.
Signals whenever wakeup sensor events are received.
Definition at line 39 of file wakeupsensor.h.
◆ WakeupSensorChannel()
WakeupSensorChannel::WakeupSensorChannel |
( |
const QString & | id | ) |
|
|
protected |
◆ ~WakeupSensorChannel()
virtual WakeupSensorChannel::~WakeupSensorChannel |
( |
| ) |
|
|
protectedvirtual |
◆ factoryMethod()
static AbstractSensorChannel * WakeupSensorChannel::factoryMethod |
( |
const QString & | id | ) |
|
|
inlinestatic |
◆ start
bool WakeupSensorChannel::start |
( |
| ) |
|
|
slot |
◆ stop
bool WakeupSensorChannel::stop |
( |
| ) |
|
|
slot |
◆ wakeup()
Unsigned WakeupSensorChannel::wakeup |
( |
| ) |
const |
|
inline |
Property for accessing the measured value.
Note that sensor does not have a state and thus the last measured value is meaningness and is provided only for the sake of symmetry.
- Returns
- Last measured value.
Definition at line 67 of file wakeupsensor.h.
◆ wakeupChanged
void WakeupSensorChannel::wakeupChanged |
( |
const Unsigned & | value | ) |
|
|
signal |
Sent when a change in measured data is observed.
- Parameters
-
◆ wakeup
The documentation for this class was generated from the following file: