sensorfw
ALSSensorChannel Class Reference

Sensor for accessing the internal ambient light sensor measurements. More...

#include <alssensor.h>

List of all members.

Public Slots

bool start ()
bool stop ()

Signals

void ALSChanged (const Unsigned &value)
 Sent when a change in measured data is observed.

Public Member Functions

Unsigned lux () const
 Property for accessing the measured value.

Static Public Member Functions

static AbstractSensorChannel * factoryMethod (const QString &id)
 Factory method for ALSSensorChannel.

Protected Member Functions

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

Properties

Unsigned lux

Detailed Description

Sensor for accessing the internal ambient light sensor measurements.

Signals listeners whenever observed ambient light intensity level has changed.

Definition at line 52 of file alssensor.h.


Constructor & Destructor Documentation

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

Member Function Documentation

void ALSSensorChannel::ALSChanged ( const Unsigned value) [signal]

Sent when a change in measured data is observed.

Parameters:
valueMeasured value.
static AbstractSensorChannel* ALSSensorChannel::factoryMethod ( const QString &  id) [inline, static]

Factory method for ALSSensorChannel.

Returns:
New ALSSensorChannel as AbstractSensorChannel*

Definition at line 64 of file alssensor.h.

Unsigned ALSSensorChannel::lux ( ) const [inline]

Property for accessing the measured value.

Returns:
Last measured value.

Definition at line 76 of file alssensor.h.

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

Property Documentation

Definition at line 56 of file alssensor.h.


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