KiCad PCB EDA Suite
|
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_T * | m_mainStackContext |
std::function< void()> | m_mainStackFunction |
Definition at line 132 of file coroutine.h.
|
inline |
Definition at line 135 of file coroutine.h.
|
inline |
Definition at line 140 of file coroutine.h.
References COROUTINE< ReturnType, ArgType >::CONTEXT_T::ctx, and COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackContext.
|
inline |
Definition at line 166 of file coroutine.h.
References COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::CONTINUE_AFTER_ROOT, COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::destination, COROUTINE< ReturnType, ArgType >::doResume(), COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::FROM_ROOT, COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackFunction, and COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::type.
Referenced by COROUTINE< ReturnType, ArgType >::Call(), and COROUTINE< ReturnType, ArgType >::Resume().
|
inline |
Definition at line 152 of file coroutine.h.
References COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::CONTINUE_AFTER_ROOT, COROUTINE< ReturnType, ArgType >::CONTEXT_T::ctx, COROUTINE< ReturnType, ArgType >::m_callee, COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackContext, and COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackFunction.
Referenced by COROUTINE< ReturnType, ArgType >::RunMainStack().
|
inline |
Definition at line 147 of file coroutine.h.
References COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackContext.
Referenced by COROUTINE< ReturnType, ArgType >::callerStub(), and COROUTINE< ReturnType, ArgType >::jumpOut().
|
private |
Definition at line 177 of file coroutine.h.
Referenced by COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::RunMainStack(), COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::SetMainStack(), and COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::~CALL_CONTEXT().
|
private |
Definition at line 178 of file coroutine.h.
Referenced by COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::Continue(), and COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::RunMainStack().