Listener interface and data types for servo control events.
Observer interface for receiving servo completion/abort/error events.
Definition ServoEventListener.h:38
ServoId
Servo channel identifiers.
Definition ServoEventListener.h:25
Definition ServoEvent.h:6
void RemoveListenerOnError(void(*onEvent)(uint16_t id, ServoId channel))
void AddListenerOnError(void(*onEvent)(uint16_t id, ServoId channel))
void AddListenerOnComplete(void(*onEvent)(uint16_t id, ServoId channel))
void AddListener(ServoEventListener *observer, bool priority=false)
void ServoComplete(uint16_t id, ServoId channel)
void ServoAbort(uint16_t id, ServoId channel)
void ServoError(uint16_t id, ServoId channel)
void RemoveListenerOnAbort(void(*onEvent)(uint16_t id, ServoId channel))
void RemoveListenerOnComplete(void(*onEvent)(uint16_t id, ServoId channel))
void AddListenerOnAbort(void(*onEvent)(uint16_t id, ServoId channel))
void RemoveListener(ServoEventListener *observer)