|
ADTF
|
#include <level_machine.h>
Inherited by adtf::streaming::ant::cFilterLevelmachine, and adtf::streaming::ant::streaming_level_machine.
Classes | |
| struct | dispatcher |
| struct | dispatcher< Handler, InnerHandlers... > |
| struct | handler |
Public Member Functions | |
| template<typename ... InnerHandlers> | |
| tResult | ChangeLevel (LevelType eLevel) |
Protected Types | |
| enum | tDirection : uint8_t { Inc = 0 , Dec = 1 } |
| Direction of entering a new Level. More... | |
| typedef tResult(Subclass::* | tChangeMethod) () |
Defintion of function type called within the handler implementation. | |
Protected Member Functions | |
| virtual | ~level_machine ()=default |
| DTOR. | |
| LevelType | GetLevel () const |
Generator template to create a Basic Level Machine implmentation.
| Subclass | Parent Class the implementation is used for |
| LevelType | Level decltype for the level machine |
| START_LEVEL | intial level after constructing |
|
protected |
|
inline |
Change Level raise or decrease the Level level by level and call the given hendler methods.
| InnerHandlers | Level Change handler methods |
| ERR_NOERROR | Not error occured. |
|
inlineprotected |
Returns the current Level of the levelMachine.