sensorfw: ProximityData Class Reference

sensorfw

Public Member Functions | Public Attributes | List of all members
ProximityData Class Reference

Datatype for proximity measurements. More...

`#include <orientationdata.h>`

Inheritance diagram for ProximityData:

## Public Member Functions
| ProximityData ()
| Default constructor.
| ProximityData (const quint64 &timestamp, unsigned int value, bool withinProximity)
| Constructor.
Public Member Functions inherited from TimedUnsigned
| TimedUnsigned ()
| Default constructor.
| TimedUnsigned (const quint64 &timestamp, unsigned value)
| Constructor.
Public Member Functions inherited from TimedData
| TimedData (const quint64 &timestamp)
| Constructor.

## Public Attributes
bool | withinProximity_
| is an object within proximity or not
Public Attributes inherited from TimedUnsigned
unsigned | value_
| Measurement value.
Public Attributes inherited from TimedData
quint64 | timestamp_
| monotonic time (microsec)

## Detailed Description

Datatype for proximity measurements.

Definition at line 150 of file orientationdata.h.

## Constructor & Destructor Documentation

## ◆ ProximityData() [1/2]

ProximityData::ProximityData | ( |  | ) |
| inline

Default constructor.

Definition at line 156 of file orientationdata.h.

## ◆ ProximityData() [2/2]

ProximityData::ProximityData | ( | const quint64 & | timestamp,
|  | unsigned int | value,
|  | bool | withinProximity )
| inline

Constructor.

Parameters

  timestamp | timestamp as monotonic time (microsec).
  value | raw proximity value.
  withinProximity | is there an object within proximity.

Definition at line 165 of file orientationdata.h.

## Member Data Documentation

## ◆ withinProximity_

bool ProximityData::withinProximity_

is an object within proximity or not

Definition at line 168 of file orientationdata.h.

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

- datatypes/orientationdata.h