QCompassFilter

Since: 1.0

#include <QtSensors/QCompassFilter>

QtSensors

The QCompassFilter class is a convenience wrapper around QSensorFilter.

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


Overview

Inheritance

QSensorFilter
QCompassFilter

Protected Attributes Index

Only has inherited protected attributes

QSensor *m_sensorInherited

Public Functions Index

boolfilter (QCompassReading *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