QAccelerometerFilter

Since: 1.0

#include <QtSensors/QAccelerometerFilter>

QtSensors

The QAccelerometerFilter class is a convenience wrapper around QSensorFilter.

The only difference is that the filter() method features a pointer to QAccelerometerReading instead of QSensorReading


Overview

Inheritance

QSensorFilter
QAccelerometerFilter

Protected Attributes Index

Only has inherited protected attributes

QSensor *m_sensorInherited

Public Functions Index

boolfilter (QAccelerometerReading *reading)=0

Protected Functions Index

Only has inherited protected functions

QSensorFilter ()Inherited
virtual voidsetSensor (QSensor *sensor)Inherited

Protected Attributes

(Only has inherited protected attributes)

QSensor * m_sensor ()Inherited

Public Functions

bool filter (

Called when reading changes.

Returns false to prevent the reading from propagating.

Since:

1.0

Protected Functions

(Only has inherited protected functions)

QSensorFilter ()Inherited

virtual void setSensor (Inherited

Last modified: 2014-03-13

comments powered by Disqus