sensorfw: DeclinationFilter Class Reference

sensorfw

Public Member Functions | Static Public Member Functions | Properties | List of all members
DeclinationFilter Class Reference

Filter for calculating declination correction for Compass data. More...

`#include <declinationfilter.h>`

Inheritance diagram for DeclinationFilter:

## Public Member Functions
int | declinationCorrection ()
| Holds the declination correction amount applied in the calculation. More...

## Static Public Member Functions
static FilterBase * | factoryMethod ()
| Factory method. More...

## Properties
int | declinationCorrection

## Detailed Description

Filter for calculating declination correction for Compass data.

Definition at line 38 of file declinationfilter.h.

## Member Function Documentation

## ◆ declinationCorrection()

int DeclinationFilter::declinationCorrection | ( |  | ) |

Holds the declination correction amount applied in the calculation.

The value is read from GConf key `/system/osso/location/settings/magneticvariation`.

## ◆ factoryMethod()

static FilterBase * DeclinationFilter::factoryMethod | ( |  | ) |
| inlinestatic

Factory method.

Returns
  New DeclinationFilter instance as FilterBase*.

Definition at line 48 of file declinationfilter.h.

## Property Documentation

## ◆ declinationCorrection

int DeclinationFilter::declinationCorrection
| read

Definition at line 1 of file declinationfilter.h.

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

- filters/declinationfilter/declinationfilter.h