42 ActuationPoint actuationPoint;
45 std::vector<std::function<void(
Sample)>> callbacks;
HandSide
Definition: WeArtCommon.h:17
Definition: WeArtAnalogSensorData.h:14
Sample GetLastSample()
Get the last sample received.
Definition: WeArtAnalogSensorData.cpp:16
void AddSampleCallback(std::function< void(Sample)> callback)
Adds a callback called whenever a new sample is received.
Definition: WeArtAnalogSensorData.cpp:20
void OnMessageReceived(WeArtMessage *msg) override
Callback called when an accepted message is received.
Definition: WeArtAnalogSensorData.cpp:24
Message Listener basic interface.
Definition: WeArtMessageListener.h:9
Definition: WeArtCommon.h:130
Sensor data sample.
Definition: WeArtAnalogSensorData.h:22
AnalogSensorRawData data
Sampled sensor data.
Definition: WeArtAnalogSensorData.h:26
std::uint64_t timestamp
Timestamp when the sample was created (in milliseconds unix epoch time)
Definition: WeArtAnalogSensorData.h:24