|
Zth (libzth)
|
#include <coro.h>
Classes | |
| struct | end_type |
| class | iterator |
Public Types | |
| using | Mailbox_types = std::tuple< impl::generator_Mailbox_type< T >... > |
| using | generator_type = generator< T... > |
| using | first_yield_type = typename std::tuple_element_t< 0, std::tuple< T... > > |
| using | base = promise< generator_promise< T... > > |
Public Types inherited from zth::coro::promise< generator_promise< T... > > | |
| using | promise_type = generator_promise< T... > |
Public Types inherited from zth::UniqueID< promise_base > | |
| typedef NamedUniqueID | base |
Public Member Functions | |
| generator_promise () | |
| virtual | ~generator_promise () noexcept override=default |
| template<typename U = first_yield_type> | |
| auto const & | mailbox () const noexcept |
| template<typename U = first_yield_type> | |
| auto & | mailbox () noexcept |
| bool | completed () const noexcept |
| template<typename U = first_yield_type> | |
| bool | valid () const noexcept |
| template<typename U = first_yield_type> | |
| decltype(auto) | value () |
| template<typename U = first_yield_type> | |
| void | generate () |
| auto | get_return_object () noexcept |
| std::coroutine_handle | waiter () const noexcept |
| template<typename U > | |
| std::coroutine_handle | waiter () const noexcept |
| template<typename T_ > | |
| decltype(auto) | yield_value (T_ &&v) noexcept |
| decltype(auto) | final_suspend () noexcept |
| void | return_void () noexcept |
| void | unhandled_exception () noexcept |
| template<typename U = first_yield_type> | |
| iterator< U > | begin () |
| end_type | end () noexcept |
| bool | operator== (end_type) const noexcept |
| bool | operator!= (end_type) const noexcept |
| template<typename U = first_yield_type> | |
| generator_promise & | operator++ () |
| template<typename U = first_yield_type> | |
| decltype(auto) | operator++ (int) |
| template<typename U = first_yield_type> | |
| decltype(auto) | operator* () |
| template<typename U = first_yield_type> | |
| decltype(auto) | operator-> () |
Public Member Functions inherited from zth::coro::promise< generator_promise< T... > > | |
| virtual | ~promise () noexcept override |
| auto | typedHandle () noexcept |
| virtual std::coroutine_handle | handle () noexcept final |
| decltype(auto) | initial_suspend () noexcept |
| decltype(auto) | final_suspend () noexcept |
| 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 |
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 |
Protected Member Functions inherited from zth::coro::promise< generator_promise< T... > > | |
| 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 |
| using zth::coro::generator_promise< T >::base = promise<generator_promise<T...> > |
| using zth::coro::generator_promise< T >::first_yield_type = typename std::tuple_element_t<0, std::tuple<T...> > |
| using zth::coro::generator_promise< T >::generator_type = generator<T...> |
| using zth::coro::generator_promise< T >::Mailbox_types = std::tuple<impl::generator_Mailbox_type<T>...> |
|
inline |
|
overridevirtualdefaultnoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |