QGyroscopeFilter Class

The QGyroscopeFilter class is a convenience wrapper around QSensorFilter. 更多...

头文件: #include <QGyroscopeFilter>
qmake: QT += sensors
开始支持版本: Qt 5.1
基类: QSensorFilter

公有函数

virtual bool filter(QGyroscopeReading *reading) = 0

详细描述

The QGyroscopeFilter class is a convenience wrapper around QSensorFilter.

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

成员函数

[pure virtual] bool QGyroscopeFilter::filter(QGyroscopeReading *reading)

Called when reading changes. Returns false to prevent the reading from propagating.

参见 QSensorFilter::filter().