Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::runtime::UserContextAccess< T > Class Template Reference

Backdoor to allow runtime methods to access private data in UserContext. More...

#include <UserContextAccess.h>

Inheritance diagram for galois::runtime::UserContextAccess< T >:
galois::UserContext< T >

Public Types

typedef galois::UserContext< T > SuperTy
 
typedef SuperTy::PushBufferTy PushBufferTy
 
typedef SuperTy::FastPushBack FastPushBack
 

Public Member Functions

void resetAlloc ()
 
PushBufferTygetPushBuffer ()
 
void resetPushBuffer ()
 
SuperTydata ()
 
void setLocalState (void *p)
 
void setFastPushBack (FastPushBack f)
 
void setBreakFlag (bool *b)
 
void setFirstPass (void)
 
void resetFirstPass (void)
 
- Public Member Functions inherited from galois::UserContext< T >
 UserContext ()
 
void breakLoop ()
 Signal break in parallel loop, current iteration continues untill natural termination. More...
 
PerIterAllocTygetPerIterAlloc ()
 Acquire a per-iteration allocator. More...
 
template<typename... Args>
void push (Args &&...args)
 Push new work. More...
 
template<typename... Args>
void push_back (Args &&...args)
 Push new work. More...
 
template<typename... Args>
void insert (Args &&...args)
 Push new work. More...
 
void abort ()
 Force the abort of this iteration. More...
 
template<typename LS >
LS * getLocalState (void)
 Store and retrieve local state for deterministic. More...
 
template<typename LS , typename... Args>
LS * createLocalState (Args &&...args)
 
bool isFirstPass (void) const
 used by deterministic and ordered More...
 
void cautiousPoint ()
 declare that the operator has crossed the cautious point. More...
 

Additional Inherited Members

- Protected Types inherited from galois::UserContext< T >
typedef gdeque< T > PushBufferTy
 push stuff More...
 
typedef std::function< void(PushBufferTy &)> FastPushBack
 
- Protected Member Functions inherited from galois::UserContext< T >
void __resetAlloc ()
 
void __setFirstPass (void)
 
void __resetFirstPass (void)
 
PushBufferTy__getPushBuffer ()
 
void __resetPushBuffer ()
 
void __setLocalState (void *p)
 
void __setFastPushBack (FastPushBack f)
 
- Protected Attributes inherited from galois::UserContext< T >
PushBufferTy pushBuffer
 
IterAllocBaseTy IterationAllocatorBase
 Allocator stuff. More...
 
PerIterAllocTy PerIterationAllocator
 
bool * didBreak = nullptr
 used by all More...
 
FastPushBack fastPushBack
 
bool firstPassFlag = false
 some flags used by deterministic More...
 
void * localState = nullptr
 
- Static Protected Attributes inherited from galois::UserContext< T >
static const unsigned int fastPushBackLimit = 64
 

Detailed Description

template<typename T>
class galois::runtime::UserContextAccess< T >

Backdoor to allow runtime methods to access private data in UserContext.

Member Typedef Documentation

template<typename T>
typedef galois::UserContext<T> galois::runtime::UserContextAccess< T >::SuperTy

Member Function Documentation

template<typename T>
SuperTy& galois::runtime::UserContextAccess< T >::data ( )
inline
template<typename T>
PushBufferTy& galois::runtime::UserContextAccess< T >::getPushBuffer ( )
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::resetAlloc ( )
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::resetFirstPass ( void  )
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::resetPushBuffer ( )
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::setBreakFlag ( bool *  b)
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::setFastPushBack ( FastPushBack  f)
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::setFirstPass ( void  )
inline
template<typename T>
void galois::runtime::UserContextAccess< T >::setLocalState ( void *  p)
inline

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