#include <WeArtAnalogSensorData.h>
WEART - Raw Analog Sensor Data thimble TD https://www.weart.it/
◆ WeArtAnalogSensorData()
WeArtAnalogSensorData::WeArtAnalogSensorData |
( |
HandSide |
side, |
|
|
ActuationPoint |
actuation |
|
) |
| |
Create a WeArtAnalogSensorData tracking object.
- Parameters
-
handSide | Hand side from which to take the sensor data |
actuationPoint | Thimble from which to take the sensor data |
WEART - Raw Analog Sensor Data thimble TD https://www.weart.it/
◆ AddSampleCallback()
void WeArtAnalogSensorData::AddSampleCallback |
( |
std::function< void(Sample)> |
callback | ) |
|
Adds a callback called whenever a new sample is received.
- Parameters
-
callback | Callback called when a sample is received |
◆ GetLastSample()
Get the last sample received.
- Returns
- the last sample received
◆ OnMessageReceived()
void WeArtAnalogSensorData::OnMessageReceived |
( |
WeArtMessage * |
msg | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: