|
YACLib
C++ library for concurrent tasks execution
|
#include <shared_future.hpp>
Public Member Functions | |
| SharedFuture (detail::SharedCorePtr< V, T > core) noexcept | |
| template<typename Func > | |
| auto | ThenInline (Func &&f) const |
Public Member Functions inherited from yaclib::SharedFutureBase< V, T > | |
| SharedFutureBase ()=default | |
| bool | Valid () const noexcept |
| bool | Ready () const noexcept |
| Result | Get () &&noexcept |
| void | Get () const &&=delete |
| const Result & | Get () const &noexcept |
| Result | Touch () &&noexcept |
| void | Touch () const &&=delete |
| const Result & | Touch () const &noexcept |
| template<typename Func > | |
| auto | Then (IExecutor &e, Func &&f) const |
| void | Detach () &&noexcept |
| template<typename Func > | |
| void | SubscribeInline (Func &&f) const |
| template<typename Func > | |
| void | Subscribe (IExecutor &e, Func &&f) const |
| detail::SharedCorePtr< V, T > & | GetCore () noexcept |
| const detail::SharedCorePtr< V, T > & | GetCore () const noexcept |
| detail::SharedHandle | GetHandle () const noexcept |
Additional Inherited Members | |
Public Types inherited from yaclib::SharedFutureBase< V, T > | |
| using | Result = typename T::template Result< V > |
| using | Handle = detail::SharedHandle |
| using | Core = detail::SharedCore< V, T > |
Protected Member Functions inherited from yaclib::SharedFutureBase< V, T > | |
| SharedFutureBase (detail::SharedCorePtr< V, T > core) noexcept | |
Protected Attributes inherited from yaclib::SharedFutureBase< V, T > | |
| detail::SharedCorePtr< V, T > | _core |
Definition at line 123 of file shared_future.hpp.
|
inlinenoexcept |
Definition at line 130 of file shared_future.hpp.
|
inline |
Definition at line 134 of file shared_future.hpp.
References yaclib::MakeContract().