proxygen
folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry Struct Reference

Public Member Functions

 Entry (Entry &&other) noexcept
 
Entryoperator= (Entry &&other) noexcept
 
 Entry (InputT &&input_)
 

Public Attributes

InputT input
 
folly::Promise< ResultT > promise
 

Detailed Description

template<typename InputT, typename ResultT>
template<typename InputT, typename ResultT>
struct folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry

Definition at line 126 of file AtomicBatchDispatcher-inl.h.

Constructor & Destructor Documentation

template<typename InputT, typename ResultT>
template<typename InputT , typename ResultT >
folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry::Entry ( Entry &&  other)
inlinenoexcept

Definition at line 130 of file AtomicBatchDispatcher-inl.h.

template<typename InputT, typename ResultT>
template<typename InputT , typename ResultT >
folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry::Entry ( InputT &&  input_)
inlineexplicit

Definition at line 139 of file AtomicBatchDispatcher-inl.h.

Member Function Documentation

template<typename InputT, typename ResultT>
template<typename InputT , typename ResultT >
Entry& folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry::operator= ( Entry &&  other)
inlinenoexcept

Definition at line 133 of file AtomicBatchDispatcher-inl.h.

References folly::gen::move.

133  {
134  input = std::move(other.input);
135  promise = std::move(other.promise);
136  return *this;
137  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

template<typename InputT, typename ResultT>
template<typename InputT , typename ResultT >
InputT folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry::input

Definition at line 127 of file AtomicBatchDispatcher-inl.h.

template<typename InputT, typename ResultT>
template<typename InputT , typename ResultT >
folly::Promise<ResultT> folly::fibers::AtomicBatchDispatcher< InputT, ResultT >::DispatchBaton< InputT, ResultT >::Entry::promise

Definition at line 128 of file AtomicBatchDispatcher-inl.h.


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