Doly C++ SDK v1.00
Loading...
Searching...
No Matches
ServoEvent Namespace Reference

Functions

void AddListener (ServoEventListener *observer, bool priority=false)
void RemoveListener (ServoEventListener *observer)
void AddListenerOnComplete (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 RemoveListenerOnAbort (void(*onEvent)(uint16_t id, ServoId channel))
void AddListenerOnError (void(*onEvent)(uint16_t id, ServoId channel))
void RemoveListenerOnError (void(*onEvent)(uint16_t id, ServoId channel))
void ServoComplete (uint16_t id, ServoId channel)
void ServoAbort (uint16_t id, ServoId channel)
void ServoError (uint16_t id, ServoId channel)

Function Documentation

◆ AddListener()

void ServoEvent::AddListener ( ServoEventListener * observer,
bool priority = false )

◆ AddListenerOnAbort()

void ServoEvent::AddListenerOnAbort ( void(* onEvent )(uint16_t id, ServoId channel))

◆ AddListenerOnComplete()

void ServoEvent::AddListenerOnComplete ( void(* onEvent )(uint16_t id, ServoId channel))

◆ AddListenerOnError()

void ServoEvent::AddListenerOnError ( void(* onEvent )(uint16_t id, ServoId channel))

◆ RemoveListener()

void ServoEvent::RemoveListener ( ServoEventListener * observer)

◆ RemoveListenerOnAbort()

void ServoEvent::RemoveListenerOnAbort ( void(* onEvent )(uint16_t id, ServoId channel))

◆ RemoveListenerOnComplete()

void ServoEvent::RemoveListenerOnComplete ( void(* onEvent )(uint16_t id, ServoId channel))

◆ RemoveListenerOnError()

void ServoEvent::RemoveListenerOnError ( void(* onEvent )(uint16_t id, ServoId channel))

◆ ServoAbort()

void ServoEvent::ServoAbort ( uint16_t id,
ServoId channel )

◆ ServoComplete()

void ServoEvent::ServoComplete ( uint16_t id,
ServoId channel )

◆ ServoError()

void ServoEvent::ServoError ( uint16_t id,
ServoId channel )