modm API documentation
TestingNonMutuallyExclusiveResumables Class Reference
Inheritance diagram for TestingNonMutuallyExclusiveResumables:
modm::Resumable< 3 >

Public Member Functions

modm::ResumableResult< void > call0 ()
 
modm::ResumableResult< void > call1 ()
 
modm::ResumableResult< void > call2 ()
 
modm::ResumableResult< void > call3 ()
 
bool areAllResumablesRunning (std::initializer_list< uint8_t > ids) const
 
bool areAnyResumablesRunning () const
 
bool areAnyResumablesRunning (std::initializer_list< uint8_t > ids) const
 
bool isResumableRunning (uint8_t id) const
 
bool joinResumables (std::initializer_list< uint8_t > ids) const
 
void stopAllResumables ()
 Force all resumable functions to stop running.
 
bool stopResumable (uint8_t id)
 Force the specified resumable function to stop running.
 

Public Attributes

uint8_t state0
 
uint8_t state1
 
uint8_t state2
 

Member Function Documentation

bool modm::Resumable< 1 >::areAllResumablesRunning ( std::initializer_list< uint8_t >  ids) const
inheritedinline
Returns
true if all of the specified resumable function are running, else false
bool modm::Resumable< 1 >::areAnyResumablesRunning ( ) const
inheritedinline
Returns
true if any resumable function of this class is running, else false
bool modm::Resumable< 1 >::areAnyResumablesRunning ( std::initializer_list< uint8_t >  ids) const
inheritedinline
Returns
true if any of the specified resumable function are running, else false
bool modm::Resumable< 1 >::isResumableRunning ( uint8_t  id) const
inheritedinline
Returns
true if the specified resumable function is running, else false
bool modm::Resumable< 1 >::joinResumables ( std::initializer_list< uint8_t >  ids) const
inheritedinline
Returns
true if none of the specified resumable function are running, else false

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