Accessor used by result_view that allows notification requests and operations requests to wait until deferred value is available. More...
Public Member Functions | |
index_type | index () const |
tg_result_accessor (null_reference const &) | |
tg_result_accessor (View const &view, index_type idx) | |
bool | available (void) const |
Return true if the version of the value this accessor refers to is available for use on this location. | |
template<typename Notifier > | |
void | request_notify (Notifier const ¬ifier) const |
Register a callback notifier to be invoked when the underlying value is available. Notifier invoked immediately if the value is already available. More... | |
bool | is_null () const |
Return true if this edge accessor is logically null and does not provide access to any actual value. | |
template<typename F > | |
boost::result_of< F(value_type)>::type | apply_get (F const &f) const |
value_type | read (void) const |
void | write (U const &value) const |
void | invoke (void(Class::*const memberFuncPtr)(Args...), typename std::decay< Args >::type const &... args) const |
Rtn | invoke (Rtn(Class::*const memberFuncPtr)(Args...), typename std::decay< Args >::type const &... args) const |
Rtn | const_invoke (Rtn(Class::*const memberFuncPtr)(Args...) const, typename std::decay< Args >::type const &... args) const |
Public Types | |
using | index_type = typename View::index_type |
using | deferred_evaluation_accessor_ = void |
Type tag this accessor as referring to a value that might not yet be available. Enables behavior such lazy evaluation of unary and binary operations on associated proxies. | |
Friends | |
template<typename Derived , typename A , typename C , typename D > | |
class | iterator_facade |
class | ::stapl::accessor_core_access |
Accessor used by result_view that allows notification requests and operations requests to wait until deferred value is available.
void stapl::detail::tg_result_accessor< View >::request_notify | ( | Notifier const & | notifier | ) | const |
Register a callback notifier to be invoked when the underlying value is available. Notifier invoked immediately if the value is already available.
Storage and servicing of the notifier is handled by the container underlying the view associated with this accessor.