KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EASYPC::LOAD_TASK::promise_type Struct Reference

#include <easypc_archive.h>

Public Member Functions

template<typename... ARGS>
 promise_type (ARGS &... aArgs)
 
LOAD_TASK get_return_object ()
 
std::suspend_always initial_suspend () noexcept
 
std::suspend_always final_suspend () noexcept
 
void return_void () noexcept
 
void unhandled_exception () noexcept
 
void find (ARCHIVE &aArchive)
 
template<typename T>
void find (T &)
 

Public Attributes

ARCHIVE * m_archive = nullptr
 
std::exception_ptr m_error
 

Detailed Description

Definition at line 58 of file easypc_archive.h.

Constructor & Destructor Documentation

◆ promise_type()

template<typename... ARGS>
EASYPC::LOAD_TASK::promise_type::promise_type ( ARGS &... aArgs)
inline

Definition at line 62 of file easypc_archive.h.

References find.

Member Function Documentation

◆ final_suspend()

std::suspend_always EASYPC::LOAD_TASK::promise_type::final_suspend ( )
inlinenoexcept

Definition at line 73 of file easypc_archive.h.

◆ find() [1/2]

void EASYPC::LOAD_TASK::promise_type::find ( ARCHIVE & aArchive)
inline

Definition at line 77 of file easypc_archive.h.

References m_archive.

◆ find() [2/2]

template<typename T>
void EASYPC::LOAD_TASK::promise_type::find ( T & )
inline

Definition at line 80 of file easypc_archive.h.

References T.

◆ get_return_object()

LOAD_TASK EASYPC::LOAD_TASK::promise_type::get_return_object ( )
inline

Definition at line 67 of file easypc_archive.h.

References EASYPC::LOAD_TASK::LOAD_TASK().

◆ initial_suspend()

std::suspend_always EASYPC::LOAD_TASK::promise_type::initial_suspend ( )
inlinenoexcept

Definition at line 72 of file easypc_archive.h.

◆ return_void()

void EASYPC::LOAD_TASK::promise_type::return_void ( )
inlinenoexcept

Definition at line 74 of file easypc_archive.h.

◆ unhandled_exception()

void EASYPC::LOAD_TASK::promise_type::unhandled_exception ( )
inlinenoexcept

Definition at line 75 of file easypc_archive.h.

References m_error.

Member Data Documentation

◆ m_archive

ARCHIVE* EASYPC::LOAD_TASK::promise_type::m_archive = nullptr

Definition at line 84 of file easypc_archive.h.

Referenced by find().

◆ m_error

std::exception_ptr EASYPC::LOAD_TASK::promise_type::m_error

Definition at line 85 of file easypc_archive.h.

Referenced by unhandled_exception().


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