◆ ArgIntListener
typedef void(* ArgIntListener) (void *arg, int value) |
◆ ArgListener
typedef void(* ArgListener) (void *arg) |
◆ IntIntVoidListener
typedef void(* IntIntVoidListener) (int value1, int value2, void *arg) |
◆ clearCallbacks()
template<int MAX_INT_LISTENER_COUNT>
◆ invokeArgIntCallbacks()
template<int MAX_INT_LISTENER_COUNT>
void invokeArgIntCallbacks |
( |
IntListenerArray< MAX_INT_LISTENER_COUNT > * |
array, |
|
|
int |
value |
|
) |
| |
Definition at line 93 of file listener_array.h.
93 {
96 void *arg = array->
args[i];
98 }
99}
void * args[MAX_INT_LISTENER_COUNT]
VoidInt callbacks[MAX_INT_LISTENER_COUNT]
void(* ArgIntListener)(void *arg, int value)
static CanTsListener listener
◆ invokeCallbacks()
template<int MAX_INT_LISTENER_COUNT>
void invokeCallbacks |
( |
IntListenerArray< MAX_INT_LISTENER_COUNT > * |
array, |
|
|
int |
value |
|
) |
| |
◆ invokeIntIntCallbacks()
template<int MAX_INT_LISTENER_COUNT>
void invokeIntIntCallbacks |
( |
IntListenerArray< MAX_INT_LISTENER_COUNT > * |
array, |
|
|
int |
value, |
|
|
int |
value2 |
|
) |
| |
◆ invokeIntIntVoidCallbacks()
template<int MAX_INT_LISTENER_COUNT>
void invokeIntIntVoidCallbacks |
( |
IntListenerArray< MAX_INT_LISTENER_COUNT > * |
array, |
|
|
int |
value, |
|
|
int |
value2 |
|
) |
| |
Definition at line 110 of file listener_array.h.
110 {
114 }
115}
void(* IntIntVoidListener)(int value1, int value2, void *arg)
Go to the source code of this file.