sensorfw
WristGestureSensorChannel Class Reference

Sensor for accessing device wristgesture. More...

#include <wristgesturesensor.h>

Inheritance diagram for WristGestureSensorChannel:

Public Slots

bool start ()
 
bool stop ()
 

Signals

void wristgestureChanged (const int &wristgesture)
 Sent whenever wristgesture interpretation has changed. More...
 

Public Member Functions

Unsigned wristgesture () const
 Property method returning current wristgesture. More...
 

Static Public Member Functions

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

Protected Member Functions

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

Properties

Unsigned wristgesture
 

Detailed Description

Sensor for accessing device wristgesture.

Provides device wristgesture based on the direction of acceleration vector. Threshold value (mG) is used to control the sensitivity of change from one wristgesture into another. See #WristGestureInterpreter for details on threshold.

Definition at line 51 of file wristgesturesensor.h.

Constructor & Destructor Documentation

◆ WristGestureSensorChannel()

WristGestureSensorChannel::WristGestureSensorChannel ( const QString &  id)
protected

◆ ~WristGestureSensorChannel()

virtual WristGestureSensorChannel::~WristGestureSensorChannel ( )
protectedvirtual

Member Function Documentation

◆ factoryMethod()

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

Factory method for WristGestureSensorChannel.

Returns
New WristGestureSensorChannel as AbstractSensorChannel*

Definition at line 64 of file wristgesturesensor.h.

◆ start

bool WristGestureSensorChannel::start ( )
slot

◆ stop

bool WristGestureSensorChannel::stop ( )
slot

◆ wristgesture()

Unsigned WristGestureSensorChannel::wristgesture ( ) const
inline

Property method returning current wristgesture.

Returns
Current wristgesture.

Definition at line 76 of file wristgesturesensor.h.

◆ wristgestureChanged

void WristGestureSensorChannel::wristgestureChanged ( const int &  wristgesture)
signal

Sent whenever wristgesture interpretation has changed.

Parameters
wristgestureNew wristgesture.

Property Documentation

◆ wristgesture

Unsigned WristGestureSensorChannel::wristgesture
read

Definition at line 1 of file wristgesturesensor.h.


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