libcopp 2.3.2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
stackful_channel_context_base::multi_caller_container Struct Reference
Collaboration diagram for stackful_channel_context_base::multi_caller_container:
Collaboration graph

Public Types

using list_type = std::list< handle_delegate >
 
using index_type = std::unordered_map< handle_delegate, list_type::iterator, handle_delegate_hash >
 

Public Member Functions

bool add (const handle_delegate &delegate)
 
bool remove (const handle_delegate &delegate)
 
void swap (multi_caller_container &other) noexcept
 
size_t size () const noexcept
 

Data Fields

list_type callers
 
index_type index
 

Detailed Description

Definition at line 230 of file stackful_channel.h.

Member Typedef Documentation

◆ index_type

Definition at line 232 of file stackful_channel.h.

◆ list_type

Definition at line 231 of file stackful_channel.h.

Member Function Documentation

◆ add()

bool stackful_channel_context_base::multi_caller_container::add ( const handle_delegate delegate)
inline

Definition at line 237 of file stackful_channel.h.

Referenced by stackful_channel_context_base::add_caller().

◆ remove()

bool stackful_channel_context_base::multi_caller_container::remove ( const handle_delegate delegate)
inline

Definition at line 246 of file stackful_channel.h.

◆ size()

size_t stackful_channel_context_base::multi_caller_container::size ( ) const
inlinenoexcept

Definition at line 261 of file stackful_channel.h.

◆ swap()

void stackful_channel_context_base::multi_caller_container::swap ( multi_caller_container other)
inlinenoexcept

Definition at line 256 of file stackful_channel.h.

Referenced by stackful_channel_context_base::resume_callers().

Field Documentation

◆ callers

list_type stackful_channel_context_base::multi_caller_container::callers

Definition at line 234 of file stackful_channel.h.

Referenced by stackful_channel_context_base::resume_callers().

◆ index

index_type stackful_channel_context_base::multi_caller_container::index

Definition at line 235 of file stackful_channel.h.


The documentation for this struct was generated from the following file: