libcopp 2.3.1
|
#include <stackful_channel.h>
Public Types | |
using | handle_delegate = stackful_channel_handle_delegate |
using | handle_delegate_hash = stackful_channel_handle_delegate_hash |
Public Member Functions | |
LIBCOPP_COPP_API void | add_caller (handle_delegate handle) noexcept |
LIBCOPP_COPP_API bool | remove_caller (handle_delegate handle) noexcept |
LIBCOPP_COPP_API size_t | resume_callers () |
LIBCOPP_COPP_API bool | has_multiple_callers () const noexcept |
Protected Member Functions | |
LIBCOPP_COPP_API | stackful_channel_context_base () noexcept |
LIBCOPP_COPP_API | ~stackful_channel_context_base () |
LIBCOPP_COPP_API void | wake () |
Private Types | |
using | multi_caller_set = std::unordered_set< handle_delegate, handle_delegate_hash > |
Private Member Functions | |
stackful_channel_context_base (const stackful_channel_context_base &)=delete | |
stackful_channel_context_base (stackful_channel_context_base &&)=delete | |
stackful_channel_context_base & | operator= (const stackful_channel_context_base &)=delete |
stackful_channel_context_base & | operator= (stackful_channel_context_base &&)=delete |
Private Attributes | |
handle_delegate | unique_caller_ |
std::unique_ptr< multi_caller_set > | multiple_callers_ |
Definition at line 197 of file stackful_channel.h.
Definition at line 199 of file stackful_channel.h.
Definition at line 200 of file stackful_channel.h.
|
private |
Definition at line 225 of file stackful_channel.h.
|
privatedelete |
|
privatedelete |
|
protectednoexcept |
Definition at line 37 of file stackful_channel.cpp.
|
protected |
Definition at line 39 of file stackful_channel.cpp.
References wake().
|
noexcept |
Definition at line 41 of file stackful_channel.cpp.
|
noexcept |
Definition at line 148 of file stackful_channel.cpp.
References stackful_channel_handle_delegate::handle_data, multiple_callers_, stackful_channel_handle_delegate::resume_handle, and unique_caller_.
|
privatedelete |
|
privatedelete |
|
noexcept |
Definition at line 75 of file stackful_channel.cpp.
LIBCOPP_COPP_API size_t stackful_channel_context_base::resume_callers | ( | ) |
Definition at line 104 of file stackful_channel.cpp.
References multiple_callers_, stackful_channel_handle_delegate::resume_handle, and unique_caller_.
|
protected |
Definition at line 169 of file stackful_channel.cpp.
Referenced by ~stackful_channel_context_base().
|
private |
Definition at line 231 of file stackful_channel.h.
Referenced by has_multiple_callers(), and resume_callers().
|
private |
Definition at line 229 of file stackful_channel.h.
Referenced by has_multiple_callers(), and resume_callers().