C/C++ API Reference
Loading...
Searching...
No Matches
pw::async2::McChannelHandle< T > Class Template Referencefinal

Overview

template<typename T>
class pw::async2::McChannelHandle< T >

Handle to a multi-consumer channel, which may be either single or multi producer. Created from either a MpmcChannelHandle or a SpmcChannelHandle.

Inheritance diagram for pw::async2::McChannelHandle< T >:
pw::async2::ChannelHandle< T > pw::async2::internal::BaseChannelHandle

Public Member Functions

 McChannelHandle (const MpmcChannelHandle< T > &other)
 
McChannelHandleoperator= (const MpmcChannelHandle< T > &other)
 
 McChannelHandle (MpmcChannelHandle< T > &&other)
 
McChannelHandleoperator= (MpmcChannelHandle< T > &&other)
 
 McChannelHandle (const SpmcChannelHandle< T > &other)
 
McChannelHandleoperator= (const SpmcChannelHandle< T > &other)
 
 McChannelHandle (SpmcChannelHandle< T > &&other)
 
McChannelHandleoperator= (SpmcChannelHandle< T > &&other)
 
- Public Member Functions inherited from pw::async2::ChannelHandle< T >
 ChannelHandle (const ChannelHandle &)=default
 
ChannelHandleoperator= (const ChannelHandle &)=default
 
 ChannelHandle (ChannelHandle &&)=default
 
ChannelHandleoperator= (ChannelHandle &&)=default
 
- Public Member Functions inherited from pw::async2::internal::BaseChannelHandle
 BaseChannelHandle (const BaseChannelHandle &other)
 
bool is_open () const
 
void Close ()
 
void Release ()
 

Additional Inherited Members

- Protected Member Functions inherited from pw::async2::ChannelHandle< T >
 ChannelHandle (internal::Channel< T > &channel)
 
Sender< T > CreateSender ()
 
Receiver< T > CreateReceiver ()
 
- Protected Member Functions inherited from pw::async2::internal::BaseChannelHandle
 BaseChannelHandle (BaseChannel &channel)
 
BaseChannelHandleoperator= (const BaseChannelHandle &other)
 
 BaseChannelHandle (BaseChannelHandle &&other) noexcept
 
BaseChannelHandleoperator= (BaseChannelHandle &&other) noexcept
 
constexpr BaseChannelchannel () const PW_LOCK_RETURNED(channel_)
 

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