YACLib
C++ library for concurrent tasks execution
|
#include <shared_core.hpp>
Public Member Functions | |
SharedCore () noexcept | |
void | Attach (Promise< V, E > &&p) |
template<typename... Args> | |
void | Set (Args &&... args) |
~SharedCore () | |
![]() | |
virtual void | IncRef () noexcept |
Increments reference counter. | |
virtual void | DecRef () noexcept |
Decrements reference counter. | |
virtual | ~IRef () noexcept=default |
Definition at line 16 of file shared_core.hpp.
|
inlinenoexcept |
Definition at line 20 of file shared_core.hpp.
|
inline |
Definition at line 49 of file shared_core.hpp.
References yaclib::detail::SharedCore< V, E >::_result, yaclib::MakeContract(), and YACLIB_ASSERT.
|
inline |
Definition at line 22 of file shared_core.hpp.
References yaclib::detail::SharedCore< V, E >::_result, yaclib::detail::ResultCore< V, E >::Get(), and yaclib::MakeContract().
|
inline |
Definition at line 36 of file shared_core.hpp.
References yaclib::detail::SharedCore< V, E >::_result, yaclib::MakeContract(), and YACLIB_ASSERT.
Definition at line 59 of file shared_core.hpp.
Referenced by yaclib::detail::SharedCore< V, E >::Attach(), yaclib::detail::SharedCore< V, E >::Set(), and yaclib::detail::SharedCore< V, E >::~SharedCore().