FastArduino
v1.9 alpha
C++ library to build fast but small Arduino/AVR projects
|
An actual LifeCycleManager implementation, based on AbstractLifeCycleManager
, adding static storage for it.
More...
#include <fastarduino/lifecycle.h>
Additional Inherited Members | |
![]() | |
template<typename T > | |
uint8_t | register_ (LifeCycle< T > &instance) |
Register a LifeCycle<T> instance with this LifeCycleManager. More... | |
bool | unregister_ (uint8_t id) |
Unregisters a LifeCycle<T> instance, identified by id , already registered with this LifeCycleManager. More... | |
uint8_t | available_ () const |
Return the number of available "slots" for registration of new LifeCycle<T> instances. More... | |
bool | move_ (uint8_t id, AbstractLifeCycle &dest) |
Move an already registered LifeCycle<T> instance (identified by id ) to a new location, determine by dest . More... | |
template<typename T > | |
LifeCycle< T > * | find_ (uint8_t id) const |
Find an existing LifeCycle<T> registered with this LifeCycleManager and identified by id . More... | |
An actual LifeCycleManager implementation, based on AbstractLifeCycleManager
, adding static storage for it.
SIZE | the maximum number of LifeCycle<T> instances this LifeCycleManager can register, |
Definition at line 340 of file lifecycle.h.