Collects all State enums from a component manifest and its traits.
More...
#include <MultiCustomStateManager.h>
Public Types | |
| using | AllStatesTuple |
| using | type = typename TupleToMultiStateManager<AllStatesTuple>::type |
Collects all State enums from a component manifest and its traits.
GatherStates<ComponentManifest, Traits...>::type resolves to a MultiCustomStateManager instantiation whose template parameters are exactly the non-void State enums found in:
ComponentManifest::State (if it exists)TraitManifest::State for each Trait that has a manifest_type ComponentCore inherits this type to get a single, unified state store for the entire component hierarchy. void entries are filtered out automatically.
| ComponentManifest | The component's own manifest, or void. |
| Traits | The extra traits mixed into the component. |
Definition at line 236 of file MultiCustomStateManager.h.
| using ml::GatherStates< ComponentManifest, Traits >::AllStatesTuple |
Definition at line 238 of file MultiCustomStateManager.h.
| using ml::GatherStates< ComponentManifest, Traits >::type = typename TupleToMultiStateManager<AllStatesTuple>::type |
Definition at line 245 of file MultiCustomStateManager.h.