|
KiCad PCB EDA Suite
|
A loader coroutine. Awaiting one queues it on its archive's frame stack instead of nesting the call. More...
#include <easypc_archive.h>
Classes | |
| struct | promise_type |
Public Types | |
| using | HANDLE = std::coroutine_handle<promise_type> |
Public Member Functions | |
| LOAD_TASK (LOAD_TASK &&aOther) noexcept | |
| LOAD_TASK & | operator= (LOAD_TASK &&)=delete |
| ~LOAD_TASK () | |
| HANDLE | Release () |
| bool | await_ready () const noexcept |
| void | await_suspend (std::coroutine_handle<> aAwaiting) |
| void | await_resume () const noexcept |
Private Member Functions | |
| LOAD_TASK (HANDLE aHandle) | |
Private Attributes | |
| HANDLE | m_handle |
A loader coroutine. Awaiting one queues it on its archive's frame stack instead of nesting the call.
Definition at line 55 of file easypc_archive.h.
| using EASYPC::LOAD_TASK::HANDLE = std::coroutine_handle<promise_type> |
Definition at line 88 of file easypc_archive.h.
|
inlinenoexcept |
Definition at line 90 of file easypc_archive.h.
References LOAD_TASK(), and m_handle.
Referenced by EASYPC::LOAD_TASK::promise_type::get_return_object(), LOAD_TASK(), and operator=().
|
inline |
Definition at line 97 of file easypc_archive.h.
References m_handle.
|
inlineexplicitprivate |
Definition at line 110 of file easypc_archive.h.
References m_handle.
|
inlinenoexcept |
Definition at line 105 of file easypc_archive.h.
|
inlinenoexcept |
Definition at line 107 of file easypc_archive.h.
| void EASYPC::LOAD_TASK::await_suspend | ( | std::coroutine_handle<> | aAwaiting | ) |
Definition at line 340 of file easypc_archive.cpp.
References LOAD_TASK().
|
inline |
Definition at line 103 of file easypc_archive.h.
References m_handle.
Referenced by await_suspend(), EASYPC::ARCHIVE::drive(), and EASYPC::ARCHIVE::pushObjectLoad().
|
private |
Definition at line 115 of file easypc_archive.h.
Referenced by await_suspend(), LOAD_TASK(), LOAD_TASK(), Release(), and ~LOAD_TASK().