libcopp 2.3.1
|
#include <stackful_channel.h>
Public Types | |
using | context_type = stackful_channel_context< TVALUE > |
using | context_pointer_type = LIBCOPP_COPP_NAMESPACE_ID::memory::default_strong_rc_ptr< context_type > |
using | value_type = typename context_type::value_type |
Public Member Functions | |
stackful_channel_receiver () noexcept | |
LIBCOPP_UTIL_FORCEINLINE bool | is_ready () const noexcept |
LIBCOPP_UTIL_FORCEINLINE bool | is_pending () const noexcept |
LIBCOPP_UTIL_FORCEINLINE void | reset_value () noexcept(noexcept(std::declval< context_type >().reset_value())) |
LIBCOPP_UTIL_FORCEINLINE const value_type * | get_value () const noexcept |
LIBCOPP_UTIL_FORCEINLINE value_type * | get_value () noexcept |
template<class TCONTEXT , class TERROR_TRANSFORM > | |
LIBCOPP_UTIL_FORCEINLINE value_type | inject_await (TCONTEXT *ctx, TERROR_TRANSFORM &&error_transform) noexcept(std::is_nothrow_copy_constructible< value_type >::value &&noexcept(error_transform(COPP_EC_ARGS_ERROR))) |
LIBCOPP_UTIL_FORCEINLINE const context_pointer_type & | get_context () const noexcept |
LIBCOPP_UTIL_FORCEINLINE context_pointer_type & | get_context () noexcept |
Private Attributes | |
context_pointer_type | context_ |
Definition at line 338 of file stackful_channel.h.
using stackful_channel_receiver< TVALUE >::context_pointer_type = LIBCOPP_COPP_NAMESPACE_ID::memory::default_strong_rc_ptr<context_type> |
Definition at line 341 of file stackful_channel.h.
using stackful_channel_receiver< TVALUE >::context_type = stackful_channel_context<TVALUE> |
Definition at line 340 of file stackful_channel.h.
using stackful_channel_receiver< TVALUE >::value_type = typename context_type::value_type |
Definition at line 342 of file stackful_channel.h.
|
inlinenoexcept |
Definition at line 345 of file stackful_channel.h.
|
inlinenoexcept |
Definition at line 396 of file stackful_channel.h.
Referenced by make_stackful_channel().
|
inlinenoexcept |
Definition at line 398 of file stackful_channel.h.
|
inlinenoexcept |
Definition at line 370 of file stackful_channel.h.
References LIBCOPP_UTIL_UNLIKELY_CONDITION.
|
inlinenoexcept |
Definition at line 378 of file stackful_channel.h.
References LIBCOPP_UTIL_UNLIKELY_CONDITION.
|
inlinenoexcept |
Definition at line 387 of file stackful_channel.h.
References COPP_EC_NOT_INITED, and LIBCOPP_UTIL_UNLIKELY_CONDITION.
|
inlinenoexcept |
Definition at line 355 of file stackful_channel.h.
References LIBCOPP_UTIL_UNLIKELY_CONDITION.
|
inlinenoexcept |
Definition at line 348 of file stackful_channel.h.
References LIBCOPP_UTIL_UNLIKELY_CONDITION.
|
inlinenoexcept |
Definition at line 362 of file stackful_channel.h.
References LIBCOPP_UTIL_UNLIKELY_CONDITION.
|
private |
Definition at line 401 of file stackful_channel.h.