|
ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
|
#include <ttg_data_copy.h>
Public Types | |
| using | value_type = ValueT |
Public Member Functions | |
| template<typename T > requires (std::constructible_from<ValueT, T>) | |
| ttg_data_value_copy_t (T &&value) | |
| ttg_data_value_copy_t (ttg_data_value_copy_t &&c) noexcept(std::is_nothrow_move_constructible_v< value_type >) | |
| ttg_data_value_copy_t (const ttg_data_value_copy_t &c) noexcept(std::is_nothrow_copy_constructible_v< value_type >) | |
| ttg_data_value_copy_t & | operator= (ttg_data_value_copy_t &&c) noexcept(std::is_nothrow_move_assignable_v< value_type >) |
| ttg_data_value_copy_t & | operator= (const ttg_data_value_copy_t &c) noexcept(std::is_nothrow_copy_assignable_v< value_type >) |
| value_type & | operator* () |
| virtual | ~ttg_data_value_copy_t ()=default |
| virtual void * | get_ptr () override final |
Public Member Functions inherited from ttg_parsec::detail::ttg_data_copy_t | |
| ttg_data_copy_t () | |
| ttg_data_copy_t (const ttg_data_copy_t &c) | |
| ttg_data_copy_t (ttg_data_copy_t &&c) | |
| ttg_data_copy_t & | operator= (ttg_data_copy_t &&c) |
| ttg_data_copy_t & | operator= (const ttg_data_copy_t &c) |
| virtual | ~ttg_data_copy_t ()=default |
| bool | is_mutable () const |
| void | mark_mutable () |
| template<bool Atomic = true> | |
| int | increment_readers () |
| void | reset_readers () |
| template<bool Atomic = true> | |
| int | decrement_readers () |
| int | num_readers () const |
| parsec_task_t * | get_next_task () const |
| void | set_next_task (parsec_task_t *task) |
| int32_t | add_ref () |
| int32_t | drop_ref () |
| bool | has_ref () |
| int32_t | num_ref () const |
Public Member Functions inherited from ttg_parsec::detail::ttg_data_copy_self_t | |
| ttg_data_copy_self_t (ttg_data_copy_t *dc) | |
Public Attributes | |
| value_type | m_value |
Public Attributes inherited from ttg_parsec::detail::ttg_data_copy_self_t | |
| parsec_list_item_t | super |
| ttg_data_copy_t * | self |
Additional Inherited Members | |
Static Public Attributes inherited from ttg_parsec::detail::ttg_data_copy_t | |
| static constexpr int | mutable_tag = std::numeric_limits<int>::min() |
Protected Attributes inherited from ttg_parsec::detail::ttg_data_copy_t | |
| parsec_task_t * | m_next_task = nullptr |
| int32_t | m_readers = 1 |
| std::atomic< int32_t > | m_refs = 1 |
Extension of ttg_data_copy_t holding the actual value. The virtual destructor will take care of destructing the value if the destructor of ttg_data_copy_t base class is called.
Definition at line 204 of file ttg_data_copy.h.
| using ttg_parsec::detail::ttg_data_value_copy_t< ValueT >::value_type = ValueT |
Definition at line 206 of file ttg_data_copy.h.
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
virtualdefault |
|
inlinefinaloverridevirtual |
Implements ttg_parsec::detail::ttg_data_copy_t.
Definition at line 269 of file ttg_data_copy.h.
|
inline |
Definition at line 262 of file ttg_data_copy.h.
|
inlinenoexcept |
|
inlinenoexcept |
| value_type ttg_parsec::detail::ttg_data_value_copy_t< ValueT >::m_value |
Definition at line 207 of file ttg_data_copy.h.
1.9.8