sensorfw
WakeupSensorChannel Class Reference

Sensor for accessing wakeup sensor events. More...

#include <wakeupsensor.h>

Inheritance diagram for WakeupSensorChannel:

Public Slots

bool start ()
 
bool stop ()
 

Signals

void wakeupChanged (const Unsigned &value)
 Sent when a change in measured data is observed.
 

Public Member Functions

Unsigned wakeup () const
 Property for accessing the measured value.
 

Static Public Member Functions

static AbstractSensorChannel * factoryMethod (const QString &id)
 Factory method for WakeupSensorChannel.
 

Protected Member Functions

 WakeupSensorChannel (const QString &id)
 
virtual ~WakeupSensorChannel ()
 

Properties

Unsigned wakeup
 

Detailed Description

Sensor for accessing wakeup sensor events.

Signals whenever wakeup sensor events are received.

Definition at line 39 of file wakeupsensor.h.

Constructor & Destructor Documentation

◆ WakeupSensorChannel()

WakeupSensorChannel::WakeupSensorChannel ( const QString & id)
protected

◆ ~WakeupSensorChannel()

virtual WakeupSensorChannel::~WakeupSensorChannel ( )
protectedvirtual

Member Function Documentation

◆ factoryMethod()

static AbstractSensorChannel * WakeupSensorChannel::factoryMethod ( const QString & id)
inlinestatic

Factory method for WakeupSensorChannel.

Returns
New WakeupSensorChannel as AbstractSensorChannel*

Definition at line 51 of file wakeupsensor.h.

◆ 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
valueMeasured value.

Property Documentation

◆ wakeup

Unsigned WakeupSensorChannel::wakeup
read

Definition at line 44 of file wakeupsensor.h.


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