|
Zth (libzth)
|
#include <coro.h>
Public Member Functions | |
| ZTH_MALLOC_ATTR ((malloc, alloc_size(1))) static void *operator new(std | |
| virtual | ~promise_base () noexcept override=default |
| virtual bool | running () const noexcept=0 |
| virtual std::coroutine_handle | handle () noexcept=0 |
| 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 |
Static Public Member Functions | |
| 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 |
Protected Member Functions | |
| promise_base (cow_string const &name) | |
Protected Member Functions inherited from zth::RefCounted | |
| virtual void | cleanup () noexcept |
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 |
Additional Inherited Members | |
Public Types inherited from zth::UniqueID< promise_base > | |
| typedef NamedUniqueID | base |
|
overridevirtualdefaultnoexcept |
|
inlineexplicitprotected |
|
inlinenoexcept |
|
pure virtualnoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
|
pure virtualnoexcept |
|
inlinenoexcept |
|
inlinenew |