Kallisto Linux API
Library for interacting with Kallisto devices
|
#include <time_synchronizer.hpp>
Public Member Functions | |
TimeSynchronizer (bluetooth::BluetoothDispatcher &dispatcher) | |
virtual | ~TimeSynchronizer () |
virtual error::KallistoDetailedResult | sync ()=0 |
virtual error::KallistoDetailedResult | syncSensorEvent (Sensor &sensor, SensorEvent &event)=0 |
Protected Member Functions | |
TimeSynchronizer (TimeSynchronizer const &)=delete | |
TimeSynchronizer (TimeSynchronizer &&)=delete | |
void | operator= (TimeSynchronizer const &)=delete |
void | operator= (TimeSynchronizer &&)=delete |
Protected Attributes | |
bluetooth::BluetoothDispatcher * | m_dispatcher |
Interface for Time Synchronization.
|
protecteddelete |
Remove copy and move.
TimeSynchronizer | ( | bluetooth::BluetoothDispatcher & | dispatcher | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Triggers a new sync. Called when a connection is established to the device.
|
pure virtual |
Called ther is a new sensor event that should be synchronized.
event | The sensor event to be synchronized. |
Implemented in TimeAjustSynchronizer.
|
protected |