YACLib
C++ library for concurrent tasks execution
|
#include <shared_core.hpp>
Public Member Functions | |
InlineCore * | Here (InlineCore &caller) noexcept override |
bool | SetCallback (InlineCore &callback) noexcept |
template<bool SymmetricTransfer> | |
Transfer< SymmetricTransfer > | SetInline (InlineCore &callback) noexcept |
template<bool SymmetricTransfer> | |
Transfer< SymmetricTransfer > | SetResult () noexcept |
![]() | |
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 () |
![]() | |
bool | Empty () const noexcept |
void | MoveExecutorTo (BaseCore &callback) noexcept |
void | CopyExecutorTo (BaseCore &callback) noexcept |
![]() | |
virtual void | Drop () noexcept |
![]() | |
virtual void | Call () noexcept |
![]() | |
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 8 of file shared_core.hpp.
|
inlineoverridevirtualnoexcept |
Implements yaclib::detail::InlineCore.
Definition at line 12 of file shared_core.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 22 of file shared_core.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 31 of file shared_core.hpp.
References yaclib::MakeContract().
|
inlinenoexcept |
Definition at line 36 of file shared_core.hpp.