sensorfw
HrmSensorChannel Class Reference

Sensor for accessing the internal heart rate monitor sensor measurements. More...

#include <hrmsensor.h>

Inheritance diagram for HrmSensorChannel:

Public Slots

bool start ()
 
bool stop ()
 

Signals

void HeartRateChanged (const HeartRate &value)
 Sent when a change in measured data is observed. More...
 

Public Member Functions

HeartRate heartRate () const
 Property for accessing the measured value. More...
 

Static Public Member Functions

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

Protected Member Functions

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

Properties

HeartRate heartRate
 

Detailed Description

Sensor for accessing the internal heart rate monitor sensor measurements.

Signals listeners whenever observed bpm changed.

Definition at line 49 of file hrmsensor.h.

Constructor & Destructor Documentation

◆ HrmSensorChannel()

HrmSensorChannel::HrmSensorChannel ( const QString &  id)
protected

◆ ~HrmSensorChannel()

virtual HrmSensorChannel::~HrmSensorChannel ( )
protectedvirtual

Member Function Documentation

◆ factoryMethod()

static AbstractSensorChannel * HrmSensorChannel::factoryMethod ( const QString &  id)
inlinestatic

Factory method for HrmSensorChannel.

Returns
New HrmSensorChannel as AbstractSensorChannel*

Definition at line 61 of file hrmsensor.h.

◆ heartRate()

HeartRate HrmSensorChannel::heartRate ( ) const
inline

Property for accessing the measured value.

Returns
Last measured value.

Definition at line 73 of file hrmsensor.h.

◆ HeartRateChanged

void HrmSensorChannel::HeartRateChanged ( const HeartRate value)
signal

Sent when a change in measured data is observed.

Parameters
valueMeasured value.

◆ start

bool HrmSensorChannel::start ( )
slot

◆ stop

bool HrmSensorChannel::stop ( )
slot

Property Documentation

◆ heartRate

HeartRate HrmSensorChannel::heartRate
read

Definition at line 1 of file hrmsensor.h.


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