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 130 of file coroutine.h.
|
inline |
Definition at line 133 of file coroutine.h.
|
inline |
Definition at line 138 of file coroutine.h.
References COROUTINE< ReturnType, ArgType >::CONTEXT_T::ctx, and COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::m_mainStackContext.
|
inline |
Definition at line 164 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 150 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 145 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 175 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 176 of file coroutine.h.
Referenced by COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::Continue(), and COROUTINE< ReturnType, ArgType >::CALL_CONTEXT::RunMainStack().