Kallisto Linux API
Library for interacting with Kallisto devices
|
#include <time_adjust_synchronizer.hpp>
Public Member Functions | |
TimeAjustSynchronizer (bluetooth::BluetoothDispatcher &dispatcher) | |
error::KallistoDetailedResult | syncSensorEvent (Sensor &sensor, SensorEvent &event) |
Public Member Functions inherited from TimeSynchronizer | |
TimeSynchronizer (bluetooth::BluetoothDispatcher &dispatcher) | |
virtual | ~TimeSynchronizer () |
Additional Inherited Members | |
Protected Member Functions inherited from TimeSynchronizer | |
TimeSynchronizer (TimeSynchronizer const &)=delete | |
TimeSynchronizer (TimeSynchronizer &&)=delete | |
void | operator= (TimeSynchronizer const &)=delete |
void | operator= (TimeSynchronizer &&)=delete |
Protected Attributes inherited from TimeSynchronizer | |
bluetooth::BluetoothDispatcher * | m_dispatcher |
Simple timestamp synchronizer. When we receive the first sensor event,we assume that timestamp as the base for all the others. This approach adds an error since we don't know the time passed since the sensor data was acquired until it reached the host.
TimeAjustSynchronizer | ( | bluetooth::BluetoothDispatcher & | dispatcher | ) |
Constructor.
|
virtual |
Called ther is a new sensor event that should be synchronized.
event | The sensor event to be synchronized. |
Implements TimeSynchronizer.