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.
References m_mainStackContext.
|
inline |
Definition at line 140 of file coroutine.h.
References 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, m_mainStackFunction, and COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::type.
|
inline |
Definition at line 152 of file coroutine.h.
References COROUTINE< ReturnType, ArgType >::INVOCATION_ARGS::CONTINUE_AFTER_ROOT, COROUTINE< ReturnType, ArgType >::COROUTINE(), COROUTINE< ReturnType, ArgType >::CONTEXT_T::ctx, COROUTINE< ReturnType, ArgType >::m_callee, m_mainStackContext, and m_mainStackFunction.
|
inline |
Definition at line 147 of file coroutine.h.
References m_mainStackContext.
Referenced by COROUTINE< int, int >::callerStub().
|
private |
Definition at line 177 of file coroutine.h.
Referenced by CALL_CONTEXT(), RunMainStack(), SetMainStack(), and ~CALL_CONTEXT().
|
private |
Definition at line 178 of file coroutine.h.
Referenced by Continue(), and RunMainStack().