![]() |
Doly C++ SDK v1.00
|
Functions | |
| void | AddListener (EyeEventListener *observer, bool priority=false) |
| Register an EyeEventListener to receive events. | |
| void | RemoveListener (EyeEventListener *observer) |
| Unregister a previously added EyeEventListener. | |
| void | AddListenerOnStart (void(*onStart)(uint16_t)) |
| Register a static callback invoked when an eye action/animation starts. | |
| void | RemoveListenerOnStart (void(*onStart)(uint16_t)) |
| Unregister a previously added start callback. | |
| void | AddListenerOnComplete (void(*onComplete)(uint16_t)) |
| Register a static callback invoked when an eye action/animation completes. | |
| void | RemoveListenerOnComplete (void(*onComplete)(uint16_t)) |
| Unregister a previously added complete callback. | |
| void | AddListenerOnAbort (void(*onAbort)(uint16_t)) |
| Register a static callback invoked when an eye action/animation is aborted. | |
| void | RemoveListenerOnAbort (void(*onAbort)(uint16_t)) |
| Unregister a previously added abort callback. | |
| void EyeEvent::AddListener | ( | EyeEventListener * | observer, |
| bool | priority = false ) |
Register an EyeEventListener to receive events.
| observer | Listener instance. |
| priority | If true, listener is placed at the front of the dispatch list. |
| void EyeEvent::AddListenerOnAbort | ( | void(* | onAbort )(uint16_t) | ) |
Register a static callback invoked when an eye action/animation is aborted.
| onAbort | Callback function pointer. |
| void EyeEvent::AddListenerOnComplete | ( | void(* | onComplete )(uint16_t) | ) |
Register a static callback invoked when an eye action/animation completes.
| onComplete | Callback function pointer. |
| void EyeEvent::AddListenerOnStart | ( | void(* | onStart )(uint16_t) | ) |
Register a static callback invoked when an eye action/animation starts.
| onStart | Callback function pointer. |
| void EyeEvent::RemoveListener | ( | EyeEventListener * | observer | ) |
Unregister a previously added EyeEventListener.
| observer | Listener instance to remove. |
| void EyeEvent::RemoveListenerOnAbort | ( | void(* | onAbort )(uint16_t) | ) |
Unregister a previously added abort callback.
| onAbort | Callback function pointer to remove. |
| void EyeEvent::RemoveListenerOnComplete | ( | void(* | onComplete )(uint16_t) | ) |
Unregister a previously added complete callback.
| onComplete | Callback function pointer to remove. |
| void EyeEvent::RemoveListenerOnStart | ( | void(* | onStart )(uint16_t) | ) |
Unregister a previously added start callback.
| onStart | Callback function pointer to remove. |