|
| template<typename R , typename F , typename... Args> |
| EnableIf_t<!std::is_same< R, void >::value > | LeechCraft::Util::ReportFutureResult (QFutureInterface< R > &iface, F &&f, Args &&...args) |
| |
| template<typename F , typename... Args> |
| void | LeechCraft::Util::ReportFutureResult (QFutureInterface< void > &iface, F &&f, Args &&...args) |
| |
| template<typename ResultHandler , typename RetType , typename = ResultOf_t<ResultHandler (RetType)>> |
| constexpr bool | LeechCraft::Util::detail::IsCompatibleImpl (int) |
| |
| template<typename , typename > |
| constexpr bool | LeechCraft::Util::detail::IsCompatibleImpl (float) |
| |
| template<typename ResultHandler , typename = ResultOf_t<ResultHandler ()>> |
| constexpr bool | LeechCraft::Util::detail::IsCompatibleImplVoid (int) |
| |
| template<typename > |
| constexpr bool | LeechCraft::Util::detail::IsCompatibleImplVoid (float) |
| |
| template<typename ResultHandler , typename RetType > |
| constexpr bool | LeechCraft::Util::detail::IsCompatible () |
| |
| template<typename Executor , typename ResultHandler , typename... Args> |
| void | LeechCraft::Util::ExecuteFuture (Executor f, ResultHandler rh, QObject *parent, Args...args) |
| | Runs a QFuture-returning function and feeding the future to a handler when it is ready. More...
|
| |
| template<typename Ret , typename DestrType , typename = EnableIf_t<IsEmptyDestr_t<DestrType>::value>> |
| void | LeechCraft::Util::detail::InvokeDestructionHandler (const std::function< DestrType()> &, QFutureInterface< Ret > &, float) |
| |
| template<typename Ret , typename DestrType , typename = EnableIf_t<!IsEmptyDestr_t<DestrType>::value>> |
| void | LeechCraft::Util::detail::InvokeDestructionHandler (const std::function< DestrType()> &handler, QFutureInterface< Ret > &iface, int) |
| |
| template<typename T > |
| detail::SequenceProxy< detail::SequencerRetType_t< QFuture< T > >, QFuture< T >, detail::EmptyDestructionTag > | LeechCraft::Util::Sequence (QObject *parent, const QFuture< T > &future) |
| | Creates a sequencer that allows chaining multiple futures. More...
|
| |
| template<typename T > |
| QFuture< T > | LeechCraft::Util::MakeReadyFuture (const T &t) |
| | Creates a ready future holding the given value. More...
|
| |