sensorfw
RotationSensorChannel Class Reference

Sensor providing device rotation around axes. More...

#include <rotationsensor.h>

List of all members.

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

Detailed Description

Sensor providing device rotation around axes.

Definition at line 44 of file rotationsensor.h.


Constructor & Destructor Documentation

RotationSensorChannel::RotationSensorChannel ( const QString &  id) [protected]
virtual RotationSensorChannel::~RotationSensorChannel ( ) [protected, virtual]

Member Function Documentation

void RotationSensorChannel::dataAvailable ( const XYZ data) [signal]

Sent when new measurement data has become available.

Parameters:
dataNewly measured data.
virtual bool RotationSensorChannel::downsamplingSupported ( ) const [virtual]
static AbstractSensorChannel* RotationSensorChannel::factoryMethod ( const QString &  id) [inline, static]

Factory method for RotationSensorChannel.

Returns:
new RotationSensorChannel as AbstractSensorChannel*.

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]

Definition at line 65 of file rotationsensor.h.

virtual bool RotationSensorChannel::setInterval ( unsigned int  value,
int  sessionId 
) [virtual]
bool RotationSensorChannel::stop ( ) [slot]

Property Documentation

Definition at line 49 of file rotationsensor.h.

Definition at line 48 of file rotationsensor.h.


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