FastArduino
v1.9
C++ library to build fast but small Arduino/AVR projects
|
Listener is the interface allowing to listen to changes of a Future status. More...
#include <fastarduino/future.h>
Protected Member Functions | |
virtual void | on_status_change (const F &future, FutureStatus new_status)=0 |
Called whenever a listened-to Future changes its FutureStatus. More... | |
Protected Attributes | |
friend | F |
Listener is the interface allowing to listen to changes of a Future status.
This may be added to any Future at construction time.
F | the type of Future to listen to; this may be AbstractFuture , AbstractFakeFuture , or any subclass of these. |
|
protectedpure virtual |