FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Defines all API to handle events within FastArduino programs. More...
Namespaces | |
namespace | Type |
Defines pre-defined types of events gegenarted by FastArduino API. | |
Classes | |
class | Dispatcher |
Utility to dispatch an event to a list of EventHandler s that are registered for its type. More... | |
class | Event |
A standard Event as managed by FastArduino event API. More... | |
class | EventHandler |
Abstract event handler, used by Dispatcher to get called back when an event of the expected type is dispatched. More... | |
class | Job |
Abstract class holding some action to be executed at given periods of time. More... | |
class | Scheduler |
Schedule jobs at predefined periods of time. More... | |
Defines all API to handle events within FastArduino programs.
Some of FastArduino API use this API for event support.
In FastArduino, Events are handled mainly through an event queue, created by your program and passed to event API:
Actually, the code above does not show FastArduino Event handling API but only the Event
type.
Event support provides some API to more easily handle events once pulled from the event queue: