modm API documentation
|
Public Member Functions | |
modm::ResumableResult< bool > | task1 () |
modm::ResumableResult< ReturnType > resumable | function (...) |
int8_t | getResumableDepth () const |
bool | isResumableRunning () const |
void | stopResumable () |
Force all resumable functions to stop running at the current nesting level. | |
Public Attributes | |
int8_t | depth1 |
int8_t | depth2 |
int8_t | depth3 |
uint8_t | state1 |
uint8_t | state2 |
uint8_t | state3 |
bool | condition1 |
bool | condition2 |
bool | condition3 |
modm::ResumableResult< bool > | callResult1 |
modm::ResumableResult< bool > | callResult2 |
modm::ResumableResult< bool > | callResult3 |
Protected Member Functions | |
modm::ResumableResult< bool > | task2 () |
modm::ResumableResult< bool > | task3 () |
|
inherited |
Run the resumable function.
You need to implement this method in you subclass yourself.
NestingError
if still running, <=NestingError
if it has finished.
|
inheritedinline |
|
inheritedinline |
true
if a resumable function is running at the current nesting level, else false