sensorfw
|
Sensor providing device rotation around axes. More...
#include <rotationsensor.h>
Public Slots | |
bool | start () |
bool | stop () |
Signals | |
void | dataAvailable (const XYZ &data) |
Sent when new measurement data has become available. | |
Public Member Functions | |
XYZ | rotation () const |
bool | hasZ () const |
virtual unsigned int | interval () const |
virtual bool | setInterval (unsigned int value, int sessionId) |
virtual void | removeSession (int sessionId) |
virtual bool | downsamplingSupported () const |
Static Public Member Functions | |
static AbstractSensorChannel * | factoryMethod (const QString &id) |
Factory method for RotationSensorChannel. | |
Protected Member Functions | |
RotationSensorChannel (const QString &id) | |
virtual | ~RotationSensorChannel () |
Properties | |
XYZ | rotation |
bool | hasZ |
Sensor providing device rotation around axes.
Definition at line 44 of file rotationsensor.h.
RotationSensorChannel::RotationSensorChannel | ( | const QString & | id | ) | [protected] |
virtual RotationSensorChannel::~RotationSensorChannel | ( | ) | [protected, virtual] |
void RotationSensorChannel::dataAvailable | ( | const XYZ & | data | ) | [signal] |
Sent when new measurement data has become available.
data | Newly measured data. |
virtual bool RotationSensorChannel::downsamplingSupported | ( | ) | const [virtual] |
static AbstractSensorChannel* RotationSensorChannel::factoryMethod | ( | const QString & | id | ) | [inline, static] |
Factory method for RotationSensorChannel.
Definition at line 57 of file rotationsensor.h.
bool RotationSensorChannel::hasZ | ( | ) | const [inline] |
Definition at line 70 of file rotationsensor.h.
virtual unsigned int RotationSensorChannel::interval | ( | ) | const [virtual] |
virtual void RotationSensorChannel::removeSession | ( | int | sessionId | ) | [virtual] |
XYZ RotationSensorChannel::rotation | ( | ) | const [inline] |
Definition at line 65 of file rotationsensor.h.
virtual bool RotationSensorChannel::setInterval | ( | unsigned int | value, |
int | sessionId | ||
) | [virtual] |
bool RotationSensorChannel::start | ( | ) | [slot] |
bool RotationSensorChannel::stop | ( | ) | [slot] |
bool RotationSensorChannel::hasZ [read] |
Definition at line 49 of file rotationsensor.h.
Definition at line 48 of file rotationsensor.h.