![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Subscribable events requiring void handlers. More...
#include <InternalTypes.hpp>
Public Types | |
| typedef void(*) | Callback() |
| Callback prototype. | |
Static Public Member Functions | |
| static void | subscribe (Callback callback) |
| Subscribe to this event. | |
| static void | notify () |
| Invoke all subscribed callbacks. | |
| static void | clearSubscriptions () |
| Clear subscriptions (for testing) | |
Subscribable events requiring void handlers.
| eventType | Event type |
Definition at line 628 of file InternalTypes.hpp.
| void(*) InternalEvent< eventType, void >::Callback() |
Callback prototype.
Definition at line 631 of file InternalTypes.hpp.
|
inlinestatic |
Clear subscriptions (for testing)
Definition at line 658 of file InternalTypes.hpp.
|
inlinestatic |
Invoke all subscribed callbacks.
Definition at line 648 of file InternalTypes.hpp.
|
inlinestatic |
Subscribe to this event.
| callback | Event callback |
Definition at line 638 of file InternalTypes.hpp.