KiCad PCB EDA Suite
Loading...
Searching...
No Matches
COROUTINE< ReturnType, ArgType >::CALL_CONTEXT Class Reference

Public Member Functions

 CALL_CONTEXT ()
 
 ~CALL_CONTEXT ()
 
void SetMainStack (CONTEXT_T *aStack)
 
void RunMainStack (COROUTINE *aCor, std::function< void()> aFunc)
 
void Continue (INVOCATION_ARGS *args)
 

Private Attributes

CONTEXT_Tm_mainStackContext
 
std::function< void()> m_mainStackFunction
 

Detailed Description

template<typename ReturnType, typename ArgType>
class COROUTINE< ReturnType, ArgType >::CALL_CONTEXT

Definition at line 130 of file coroutine.h.

Constructor & Destructor Documentation

◆ CALL_CONTEXT()

template<typename ReturnType , typename ArgType >
COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::CALL_CONTEXT ( )
inline

Definition at line 133 of file coroutine.h.

◆ ~CALL_CONTEXT()

template<typename ReturnType , typename ArgType >
COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::~CALL_CONTEXT ( )
inline

Member Function Documentation

◆ Continue()

◆ RunMainStack()

◆ SetMainStack()

template<typename ReturnType , typename ArgType >
void COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::SetMainStack ( CONTEXT_T aStack)
inline

Member Data Documentation

◆ m_mainStackContext

template<typename ReturnType , typename ArgType >
CONTEXT_T* COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackContext
private

◆ m_mainStackFunction

template<typename ReturnType , typename ArgType >
std::function<void()> COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackFunction
private

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