|
Hyperon C
|
A table of callback functions to define the behavior of a SpaceObserver implemented in C. More...
#include <hyperon.h>
Public Attributes | |
| void(* | notify )(void *payload, const struct space_event_t *event) |
| Called to pass an event to the observer. | |
| void(* | free_payload )(void *payload) |
| Responsible for freeing the payload passed to space_register_observer | |
A table of callback functions to define the behavior of a SpaceObserver implemented in C.
| void(* space_observer_api_t::free_payload) (void *payload) |
Responsible for freeing the payload passed to space_register_observer
| [in] | payload | The pointer to the observer's payload to free |
| void(* space_observer_api_t::notify) (void *payload, const struct space_event_t *event) |
Called to pass an event to the observer.
| [in] | payload | The pointer to the observer's payload |
| [in] | event | The event the observer is notified about |