FastArduino  v1.9 alpha
C++ library to build fast but small Arduino/AVR projects
lifecycle::LifeCycleManager< SIZE > Class Template Reference

An actual LifeCycleManager implementation, based on AbstractLifeCycleManager, adding static storage for it. More...

#include <fastarduino/lifecycle.h>

Inheritance diagram for lifecycle::LifeCycleManager< SIZE >:
Collaboration diagram for lifecycle::LifeCycleManager< SIZE >:

Additional Inherited Members

- Public Member Functions inherited from lifecycle::AbstractLifeCycleManager
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...
 

Detailed Description

template<uint8_t SIZE>
class lifecycle::LifeCycleManager< SIZE >

An actual LifeCycleManager implementation, based on AbstractLifeCycleManager, adding static storage for it.

Template Parameters
SIZEthe maximum number of LifeCycle<T> instances this LifeCycleManager can register,
See also
AbstractLifeCycleManager
register_()
unregister_()
available_()

Definition at line 340 of file lifecycle.h.


The documentation for this class was generated from the following file: