sensorfw
CompassSensorChannel Class Reference

Logical sensor for measuring compass direction using magnetometer and accelerometer sensors. More...

#include <compasssensor.h>

List of all members.

Public Slots

bool start ()
bool stop ()

Signals

void dataAvailable (const Compass &value)

Public Member Functions

quint16 declinationValue () const
Compass get () const

Static Public Member Functions

static AbstractSensorChannel * factoryMethod (const QString &id)

Protected Member Functions

 CompassSensorChannel (const QString &id)
virtual ~CompassSensorChannel ()

Properties

quint16 declinationvalue
Compass value

Detailed Description

Logical sensor for measuring compass direction using magnetometer and accelerometer sensors.

For details about the dataflow for compass, see #CompassChain.

Definition at line 49 of file compasssensor.h.


Constructor & Destructor Documentation

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

Member Function Documentation

void CompassSensorChannel::dataAvailable ( const Compass value) [signal]
static AbstractSensorChannel* CompassSensorChannel::factoryMethod ( const QString &  id) [inline, static]

Definition at line 59 of file compasssensor.h.

Compass CompassSensorChannel::get ( ) const [inline]

Definition at line 69 of file compasssensor.h.

bool CompassSensorChannel::start ( ) [slot]
bool CompassSensorChannel::stop ( ) [slot]

Property Documentation

Definition at line 53 of file compasssensor.h.

Definition at line 55 of file compasssensor.h.


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