proxygen
|
#include <flow_single_sender.h>
Classes | |
union | data |
struct | vtable |
Public Types | |
using | properties = property_set< is_sender<>, is_flow<>, is_single<>> |
Public Member Functions | |
any_flow_single_sender ()=default | |
any_flow_single_sender (any_flow_single_sender &&that) noexcept | |
requires FlowSender< wrapped_t< Wrapped >, is_single<> > | any_flow_single_sender (Wrapped obj) noexcept(insitu< Wrapped >()) |
~any_flow_single_sender () | |
any_flow_single_sender & | operator= (any_flow_single_sender &&that) noexcept |
any_executor< E > | executor () |
void | submit (any_flow_receiver< PE, std::ptrdiff_t, E, VN... > out) |
Private Types | |
template<class T , class U = std::decay_t<T>> | |
using | wrapped_t = std::enable_if_t<!std::is_same< U, any_flow_single_sender >::value, U > |
Private Member Functions | |
template<class Wrapped > | |
any_flow_single_sender (Wrapped obj, std::false_type) | |
template<class Wrapped > | |
any_flow_single_sender (Wrapped obj, std::true_type) noexcept | |
Static Private Member Functions | |
template<class Wrapped > | |
static constexpr bool | insitu () |
Private Attributes | |
union folly::pushmi::any_flow_single_sender::data | data_ |
vtable const * | vptr_ = &noop_ |
Static Private Attributes | |
static constexpr vtable const | noop_ {} |
Definition at line 26 of file flow_single_sender.h.
using folly::pushmi::any_flow_single_sender< PE, E, VN >::properties = property_set<is_sender<>, is_flow<>, is_single<>> |
Definition at line 100 of file flow_single_sender.h.
|
private |
Definition at line 98 of file flow_single_sender.h.
|
inlineprivate |
Definition at line 48 of file flow_single_sender.h.
References upload::const, folly::pushmi::any_flow_single_sender< PE, E, VN >::data_, folly::exchange(), folly::pushmi::any_flow_single_sender< PE, E, VN >::executor(), folly::pushmi::executor, folly::gen::move, folly::pushmi::any_flow_single_sender< PE, E, VN >::data::pobj_, s, folly::pushmi::any_flow_single_sender< PE, E, VN >::submit(), and submit.
|
inlineprivatenoexcept |
Definition at line 72 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::data::buffer_, upload::const, folly::pushmi::any_flow_single_sender< PE, E, VN >::data_, folly::pushmi::any_flow_single_sender< PE, E, VN >::executor(), folly::pushmi::executor, folly::gen::move, s, folly::pushmi::any_flow_single_sender< PE, E, VN >::submit(), and submit.
|
default |
|
inlinenoexcept |
Definition at line 103 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::data_, folly::pushmi::any_flow_single_sender< PE, E, VN >::vtable::op_, folly::pushmi::PUSHMI_TEMPLATE(), folly::pushmi::requires(), folly::f14::swap(), and folly::pushmi::any_flow_single_sender< PE, E, VN >::vptr_.
|
inlineexplicitnoexcept |
Definition at line 110 of file flow_single_sender.h.
References folly::gen::move.
|
inline |
Definition at line 112 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::data_, and folly::pushmi::any_flow_single_sender< PE, E, VN >::vtable::op_.
Referenced by folly::pushmi::any_flow_single_sender< PE, E, VN >::operator=().
|
inline |
Definition at line 120 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::data_, and folly::pushmi::any_flow_single_sender< PE, E, VN >::vtable::executor_.
Referenced by folly::pushmi::any_flow_single_sender< PE, E, VN >::any_flow_single_sender().
|
inlinestaticprivate |
Definition at line 32 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::data::buffer_, and value.
|
inlinenoexcept |
Definition at line 115 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::any_flow_single_sender(), folly::gen::move, and folly::pushmi::any_flow_single_sender< PE, E, VN >::~any_flow_single_sender().
|
inline |
Definition at line 123 of file flow_single_sender.h.
References folly::pushmi::any_flow_single_sender< PE, E, VN >::data_, folly::gen::move, folly::pushmi::any_flow_single_sender< PE, E, VN >::noop_, and folly::pushmi::any_flow_single_sender< PE, E, VN >::vtable::submit_.
Referenced by folly::pushmi::any_flow_single_sender< PE, E, VN >::any_flow_single_sender().
|
private |
Referenced by folly::pushmi::any_flow_single_sender< PE, E, VN >::any_flow_single_sender(), folly::pushmi::any_flow_single_sender< PE, E, VN >::executor(), folly::pushmi::flow_single_sender< Data, DSF, DEXF >::PUSHMI_EXP(), folly::pushmi::any_flow_single_sender< PE, E, VN >::submit(), and folly::pushmi::any_flow_single_sender< PE, E, VN >::~any_flow_single_sender().
|
staticprivate |
Definition at line 45 of file flow_single_sender.h.
Referenced by folly::pushmi::any_flow_single_sender< PE, E, VN >::submit().
|
private |
Definition at line 46 of file flow_single_sender.h.
Referenced by folly::pushmi::any_flow_single_sender< PE, E, VN >::any_flow_single_sender().