![]() |
Doly C++ SDK v1.00
|
Event registration helpers for the ToF (Time of Flight) subsystem. More...
#include "TofEventListener.h"Go to the source code of this file.
Namespaces | |
| namespace | TofEvent |
Functions | |
| void | TofEvent::AddListener (TofEventListener *observer, bool priority=false) |
| Register a TofEventListener instance. | |
| void | TofEvent::RemoveListener (TofEventListener *observer) |
| Unregister a previously registered TofEventListener instance. | |
| void | TofEvent::AddListenerOnProximityGesture (void(*onEvent)(TofGesture left, TofGesture right)) |
| Register a static/free function to receive proximity gesture events. | |
| void | TofEvent::RemoveListenerOnProximityGesture (void(*onEvent)(TofGesture left, TofGesture right)) |
| Unregister a previously registered proximity gesture callback. | |
| void | TofEvent::AddListenerOnProximityThreshold (void(*onEvent)(TofData left, TofData right)) |
| Register a static/free function to receive proximity threshold events. | |
| void | TofEvent::RemoveListenerOnProximityThreshold (void(*onEvent)(TofData left, TofData right)) |
| Unregister a previously registered proximity threshold callback. | |
Event registration helpers for the ToF (Time of Flight) subsystem.
Use this API to subscribe to ToF proximity gesture and proximity threshold notifications. Two callback styles are supported:
Threading notes: