YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::AwaitAwaiter< Handle, true > Struct Template Referencefinal

#include <await_awaiter.hpp>

Inheritance diagram for yaclib::detail::AwaitAwaiter< Handle, true >:
[legend]
Collaboration diagram for yaclib::detail::AwaitAwaiter< Handle, true >:
[legend]

Public Member Functions

template<typename Promise >
YACLIB_INLINE bool await_suspend (yaclib_std::coroutine_handle< Promise > handle) noexcept
 
void Call () noexcept final
 
InlineCoreHere (InlineCore &caller) noexcept final
 
- Public Member Functions inherited from yaclib::detail::AwaitAwaiterBase< Handle >
 AwaitAwaiterBase (Handle caller) noexcept
 
YACLIB_INLINE bool await_ready () const noexcept
 
constexpr void await_resume () const noexcept
 
- Public Member Functions inherited from yaclib::Job
virtual void Drop () noexcept
 
- Public Member Functions inherited from yaclib::IRef
virtual void IncRef () noexcept
 Increments reference counter.
 
virtual void DecRef () noexcept
 Decrements reference counter.
 
virtual std::size_t GetRef () noexcept
 
virtual ~IRef () noexcept=default
 

Additional Inherited Members

- Public Attributes inherited from yaclib::detail::Node
Nodenext = nullptr
 
- Protected Attributes inherited from yaclib::detail::AwaitAwaiterBase< Handle >
BaseCore_core
 

Detailed Description

template<typename Handle>
struct yaclib::detail::AwaitAwaiter< Handle, true >

Definition at line 101 of file await_awaiter.hpp.

Member Function Documentation

◆ await_suspend()

template<typename Handle >
template<typename Promise >
YACLIB_INLINE bool yaclib::detail::AwaitAwaiter< Handle, true >::await_suspend ( yaclib_std::coroutine_handle< Promise handle)
inlinenoexcept

Definition at line 105 of file await_awaiter.hpp.

◆ Call()

template<typename Handle >
void yaclib::detail::AwaitAwaiter< Handle, true >::Call ( )
inlinefinalvirtualnoexcept

Reimplemented from yaclib::IFunc.

Definition at line 111 of file await_awaiter.hpp.

◆ Here()

template<typename Handle >
InlineCore * yaclib::detail::AwaitAwaiter< Handle, true >::Here ( InlineCore caller)
inlinefinalvirtualnoexcept

Implements yaclib::detail::InlineCore.

Definition at line 115 of file await_awaiter.hpp.

References yaclib::detail::Call.


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