M5UnitUnified 0.0.2 git rev:a353e8c
|
For managing and leading units. More...
#include <M5UnitUnified.hpp>
Public Types | |
using | container_type = std::vector<Component*> |
Public Member Functions | |
bool | begin () |
Begin of all units under management. | |
void | update (const bool force=false) |
Update of all units under management. | |
std::string | debugInfo () const |
Output information for debug. | |
Constructor | |
| |
UnitUnified (const UnitUnified &)=delete | |
UnitUnified (UnitUnified &&) noexcept=default | |
Assignment | |
| |
UnitUnified & | operator= (const UnitUnified &)=delete |
UnitUnified & | operator= (UnitUnified &&) noexcept=default |
Adding unit to be managed | |
bool | add (Component &u, m5::hal::bus::Bus *bus) |
bool | add (Component &u, TwoWire &wire) |
Protected Member Functions | |
bool | add_children (Component &u) |
bool | add (Component &u, m5::unit::Adapter *a) |
std::string | make_unit_info (const Component *u, const uint8_t indent=0) const |
Protected Attributes | |
container_type | _units {} |
For managing and leading units.