STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::detail::remote_pointer_accessor< Iterator, ParentAccessor > Class Template Reference

Defines an accessor to a pointer on a remote location using an iterator to reference it. More...

Public Member Functions

 remote_pointer_accessor (Iterator iter, ParentAccessor parent, diff_t diff)
 
bool is_local () const
 
template<typename F >
void apply_set (F const &f) const
 
template<typename F >
F::result_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

typedef std::iterator_traits< Iterator >::value_type value_type
 
typedef std::iterator_traits< Iterator >::difference_type diff_t
 

Detailed Description

template<typename Iterator, typename ParentAccessor>
class stapl::detail::remote_pointer_accessor< Iterator, ParentAccessor >

Defines an accessor to a pointer on a remote location using an iterator to reference it.

Template Parameters
IteratorLocal iterator type.
ParentAccessorAccessor used to forward the method invocations.

The documentation for this class was generated from the following file: