WPILibC++ 2024.3.2
|
Functions | |
void | CS_SetListenerOnStart (void(*onStart)(void *data), void *data) |
void | CS_SetListenerOnExit (void(*onExit)(void *data), void *data) |
CS_Listener | CS_AddListener (void *data, void(*callback)(void *data, const struct CS_Event *event), int eventMask, CS_Bool immediateNotify, CS_Status *status) |
void | CS_RemoveListener (CS_Listener handle, CS_Status *status) |
CS_ListenerPoller | CS_CreateListenerPoller (void) |
void | CS_DestroyListenerPoller (CS_ListenerPoller poller) |
CS_Listener | CS_AddPolledListener (CS_ListenerPoller poller, int eventMask, CS_Bool immediateNotify, CS_Status *status) |
struct CS_Event * | CS_PollListener (CS_ListenerPoller poller, int *count) |
struct CS_Event * | CS_PollListenerTimeout (CS_ListenerPoller poller, int *count, double timeout, CS_Bool *timedOut) |
void | CS_FreeEvents (struct CS_Event *arr, int count) |
void | CS_CancelPollListener (CS_ListenerPoller poller) |
CS_Listener CS_AddListener | ( | void * | data, |
void(*)(void *data, const struct CS_Event *event) | callback, | ||
int | eventMask, | ||
CS_Bool | immediateNotify, | ||
CS_Status * | status | ||
) |
CS_Listener CS_AddPolledListener | ( | CS_ListenerPoller | poller, |
int | eventMask, | ||
CS_Bool | immediateNotify, | ||
CS_Status * | status | ||
) |
void CS_CancelPollListener | ( | CS_ListenerPoller | poller | ) |
CS_ListenerPoller CS_CreateListenerPoller | ( | void | ) |
void CS_DestroyListenerPoller | ( | CS_ListenerPoller | poller | ) |
void CS_FreeEvents | ( | struct CS_Event * | arr, |
int | count | ||
) |
struct CS_Event * CS_PollListener | ( | CS_ListenerPoller | poller, |
int * | count | ||
) |
struct CS_Event * CS_PollListenerTimeout | ( | CS_ListenerPoller | poller, |
int * | count, | ||
double | timeout, | ||
CS_Bool * | timedOut | ||
) |
void CS_RemoveListener | ( | CS_Listener | handle, |
CS_Status * | status | ||
) |
void CS_SetListenerOnExit | ( | void(*)(void *data) | onExit, |
void * | data | ||
) |
void CS_SetListenerOnStart | ( | void(*)(void *data) | onStart, |
void * | data | ||
) |