![]() |
LeechCraft
0.6.70-3565-g2d86529
Modular cross-platform feature rich live environment.
|
Incapsulates the sequencing logic of asynchronous actions. More...
#include "futures.h"
Public Types | |
using | FutureType_t = typename std::result_of< Executor(Args...)>::type |
The result of calling Executor with Args. More... | |
using | RetType_t = UnwrapFutureType_t< FutureType_t > |
The type instantinating the QFuture returned by the Executor. More... | |
Public Member Functions | |
Sequencer (Executor f, Args...args, QObject *parent) | |
Constructs the sequencer. More... | |
Incapsulates the sequencing logic of asynchronous actions.
The objects of this class are expected to be created on heap. They will delete themselves automatically after the chain is walked (or an exception is thrown).
Executor | The type of the initial functor in the async call chain. |
Args | The types of the arguments that should be passed to the Executor. |
using LeechCraft::Util::detail::Sequencer< Executor, Args >::FutureType_t = typename std::result_of<Executor (Args...)>::type |
using LeechCraft::Util::detail::Sequencer< Executor, Args >::RetType_t = UnwrapFutureType_t<FutureType_t> |
|
inline |