STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes | Friends
stapl::ref_accessor< T > Class Template Reference

Defines the accessor that references a local element. More...

Public Member Functions

 ref_accessor (T &t_)
 
 ref_accessor (null_reference const &)
 
 ref_accessor (ref_accessor const &other)
 
bool is_null () const
 
read () const
 
void write (T const &val) const
 
template<typename Class , typename Arg1 >
void invoke (void(Class::*memberFuncPtr)(Arg1), typename invoke_arg< Arg1 >::type const &arg1) const
 
template<typename Class , typename Arg1 , typename Arg2 >
void invoke (void(Class::*memberFuncPtr)(Arg1, Arg2), typename invoke_arg< Arg1 >::type const &arg1, typename invoke_arg< Arg2 >::type const &arg2) const
 
template<typename Class , typename Rtn >
Rtn invoke (Rtn(Class::*memberFuncPtr)(void)) const
 
template<typename Class , typename Rtn >
Rtn const_invoke (Rtn(Class::*const memberFuncPtr)(void) const) const
 
template<typename Class , typename Rtn , typename Arg1 >
Rtn invoke (Rtn(Class::*memberFuncPtr)(Arg1), typename invoke_arg< Arg1 >::type const &arg1) const
 
template<typename Class , typename Rtn , typename Arg1 >
Rtn const_invoke (Rtn(Class::*const memberFuncPtr)(Arg1) const, typename invoke_arg< Arg1 >::type const &arg1) const
 
template<typename Class , typename Rtn , typename Arg1 , typename Arg2 >
Rtn invoke (Rtn(Class::*memberFuncPtr)(Arg1, Arg2), typename invoke_arg< Arg1 >::type const &arg1, typename invoke_arg< Arg2 >::type const &arg2) const
 

Public Types

typedef T value_type
 

Public Attributes

T * t
 

Friends

class accessor_core_access
 

Detailed Description

template<typename T>
class stapl::ref_accessor< T >

Defines the accessor that references a local element.

Member Function Documentation

◆ invoke()

template<typename T >
template<typename Class , typename Arg1 >
void stapl::ref_accessor< T >::invoke ( void(Class::*)(Arg1)  memberFuncPtr,
typename invoke_arg< Arg1 >::type const &  arg1 
) const

◆ const_invoke()

template<typename T >
template<typename Class , typename Rtn >
Rtn stapl::ref_accessor< T >::const_invoke ( Rtn(Class::*)(void) const  memberFuncPtr) const

Member Data Documentation

◆ t

template<typename T >
T* stapl::ref_accessor< T >::t

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