|
Zth (libzth)
|
#include <coro.h>
Public Types | |
| using | promise_type = Promise |
Public Types inherited from zth::UniqueID< promise_base > | |
| typedef NamedUniqueID | base |
Public Member Functions | |
| virtual | ~promise () noexcept override |
| auto | typedHandle () noexcept |
| virtual std::coroutine_handle | handle () noexcept final |
| decltype(auto) | initial_suspend () noexcept |
| decltype(auto) | final_suspend () noexcept |
| template<typename A > | |
| decltype(auto) | await_transform (A &&a) noexcept |
| virtual bool | running () const noexcept final |
| void | run () |
Public Member Functions inherited from zth::coro::promise_base | |
| ZTH_MALLOC_ATTR ((malloc, alloc_size(1))) static void *operator new(std | |
| virtual | ~promise_base () noexcept override=default |
| std::coroutine_handle | continuation () noexcept |
| bool | has_continuation () const noexcept |
| void | set_continuation (std::coroutine_handle<> cont={}) noexcept |
Public Member Functions inherited from zth::RefCounted | |
| RefCounted () noexcept | |
| virtual | ~RefCounted () noexcept |
| void | used () noexcept |
| bool | unused () noexcept |
| size_t | refs () const noexcept |
Public Member Functions inherited from zth::UniqueID< promise_base > | |
| UniqueID (UniqueID const &)=delete | |
| UniqueID (UniqueID &&u) noexcept | |
| UniqueID (string const &name) | |
| UniqueID (string &&name) | |
| UniqueID (char const *name=nullptr) | |
| UniqueID & | operator= (UniqueID const &)=delete |
| UniqueID & | operator= (UniqueID &&u) noexcept |
| virtual | ~UniqueID () noexcept override=default |
| void const * | normptr () const noexcept |
| uint64_t | id () const noexcept |
Public Member Functions inherited from zth::NamedUniqueID< Named > | |
| virtual | ~NamedUniqueID () noexcept override=default |
| string const & | name () const noexcept |
| void | setName (string const &name) |
| void | setName (char const *name) |
| void | setName (string &&name) |
| virtual char const * | id_str () const noexcept override |
Protected Member Functions | |
| promise (cow_string const &name) | |
| void | running (bool set) noexcept |
| promise_type const & | self () const noexcept |
| promise_type & | self () noexcept |
Protected Member Functions inherited from zth::coro::promise_base | |
| promise_base (cow_string const &name) | |
Protected Member Functions inherited from zth::UniqueID< promise_base > | |
| virtual uint64_t | id_ () const noexcept final |
Protected Member Functions inherited from zth::NamedUniqueID< Named > | |
| NamedUniqueID (char const *name=nullptr) | |
| NamedUniqueID (string const &name) | |
| NamedUniqueID (string &&name) | |
Protected Member Functions inherited from zth::UniqueIDBase | |
| virtual | ~UniqueIDBase () noexcept=default |
Friends | |
| template<typename P , typename A > | |
| class | promise_awaitable |
Additional Inherited Members | |
Static Public Member Functions inherited from zth::coro::promise_base | |
| static ZTH_MALLOC_INLINE void | operator delete (void *ptr, std::size_t n) noexcept |
Static Public Member Functions inherited from zth::UniqueID< promise_base > | |
| static uint64_t | getID () noexcept |
| using zth::coro::promise< Promise >::promise_type = Promise |
|
inlineexplicitprotected |
|
inlineoverridevirtualnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinefinalvirtualnoexcept |
Implements zth::coro::promise_base.
|
inlinenoexcept |
|
inline |
|
inlinefinalvirtualnoexcept |
Implements zth::coro::promise_base.
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
|
inlinenoexcept |
|
friend |