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

Overview

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

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

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

Public Member Functions

 MpChannelHandle (const MpmcChannelHandle< T > &other)
 
MpChannelHandleoperator= (const MpmcChannelHandle< T > &other)
 
 MpChannelHandle (MpmcChannelHandle< T > &&other)
 
MpChannelHandleoperator= (MpmcChannelHandle< T > &&other)
 
 MpChannelHandle (const MpscChannelHandle< T > &other)
 
MpChannelHandleoperator= (const MpscChannelHandle< T > &other)
 
 MpChannelHandle (MpscChannelHandle< T > &&other)
 
MpChannelHandleoperator= (MpscChannelHandle< 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: