|
YACLib
C++ library for concurrent tasks execution
|
#include <shared_core.hpp>
Public Member Functions | |
| InlineCore * | Here (InlineCore &caller) noexcept override |
| Result< V, E > | Retire () final |
| bool | SetCallback (InlineCore &callback) noexcept |
| template<bool SymmetricTransfer> | |
| Transfer< SymmetricTransfer > | SetInline (InlineCore &callback) noexcept |
| template<bool SymmetricTransfer> | |
| Transfer< SymmetricTransfer > | SetResult () noexcept |
Public Member Functions inherited from yaclib::detail::ResultCore< V, E > | |
| ResultCore () noexcept | |
| template<typename... Args> | |
| ResultCore (Args &&... args) noexcept(std::is_nothrow_constructible_v< Result< V, E >, Args &&... >) | |
| ~ResultCore () noexcept override | |
| template<typename... Args> | |
| void | Store (Args &&... args) noexcept(std::is_nothrow_constructible_v< Result< V, E >, Args &&... >) |
| Result< V, E > & | Get () noexcept |
| template<bool Condition> | |
| decltype(auto) | MoveOrConst () |
Public Member Functions inherited from yaclib::detail::BaseCore | |
| bool | Empty () const noexcept |
| template<bool Shared> | |
| void | TransferExecutorTo (BaseCore &callback) noexcept |
Public Member Functions inherited from yaclib::Job | |
| virtual void | Drop () noexcept |
Public Member Functions inherited from yaclib::IFunc | |
| virtual void | Call () noexcept |
Public Member Functions inherited from yaclib::IRef | |
| virtual void | IncRef () noexcept |
| Increments reference counter. | |
| virtual void | DecRef () noexcept |
| Decrements reference counter. | |
| virtual std::size_t | GetRef () noexcept |
| virtual | ~IRef () noexcept=default |
Definition at line 13 of file shared_core.hpp.
|
inlineoverridevirtualnoexcept |
Implements yaclib::detail::InlineCore.
Definition at line 17 of file shared_core.hpp.
References yaclib::MakeContract().
|
inlinefinalvirtual |
Implements yaclib::detail::ResultCore< V, E >.
Definition at line 27 of file shared_core.hpp.
References yaclib::IRef::DecRef(), yaclib::detail::ResultCore< V, E >::Get(), yaclib::IRef::GetRef(), and yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 33 of file shared_core.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 42 of file shared_core.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 47 of file shared_core.hpp.