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

#include <PerThreadStorage.h>

Public Member Functions

template<typename... Args>
 PerSocketStorage (Args &&...args)
 
 PerSocketStorage (PerSocketStorage &&o)
 
PerSocketStorageoperator= (PerSocketStorage &&o)
 
 PerSocketStorage (const PerSocketStorage &)=delete
 
PerSocketStorageoperator= (const PerSocketStorage &)=delete
 
 ~PerSocketStorage ()
 
T * getLocal ()
 
const T * getLocal () const
 
T * getLocal (unsigned int thread)
 Like getLocal() but optimized for when you already know the thread id. More...
 
const T * getLocal (unsigned int thread) const
 
T * getRemote (unsigned int thread)
 
const T * getRemote (unsigned int thread) const
 
T * getRemoteByPkg (unsigned int pkg)
 
const T * getRemoteByPkg (unsigned int pkg) const
 
unsigned size () const
 

Protected Member Functions

void destruct ()
 

Protected Attributes

unsigned offset
 
PerBackendb
 

Constructor & Destructor Documentation

template<typename T>
template<typename... Args>
galois::substrate::PerSocketStorage< T >::PerSocketStorage ( Args &&...  args)
inline
template<typename T>
galois::substrate::PerSocketStorage< T >::PerSocketStorage ( PerSocketStorage< T > &&  o)
inline
template<typename T>
galois::substrate::PerSocketStorage< T >::PerSocketStorage ( const PerSocketStorage< T > &  )
delete
template<typename T>
galois::substrate::PerSocketStorage< T >::~PerSocketStorage ( )
inline

Member Function Documentation

template<typename T>
void galois::substrate::PerSocketStorage< T >::destruct ( )
inlineprotected
template<typename T>
T* galois::substrate::PerSocketStorage< T >::getLocal ( )
inline
template<typename T>
const T* galois::substrate::PerSocketStorage< T >::getLocal ( ) const
inline
template<typename T>
T* galois::substrate::PerSocketStorage< T >::getLocal ( unsigned int  thread)
inline

Like getLocal() but optimized for when you already know the thread id.

template<typename T>
const T* galois::substrate::PerSocketStorage< T >::getLocal ( unsigned int  thread) const
inline
template<typename T>
T* galois::substrate::PerSocketStorage< T >::getRemote ( unsigned int  thread)
inline
template<typename T>
const T* galois::substrate::PerSocketStorage< T >::getRemote ( unsigned int  thread) const
inline
template<typename T>
T* galois::substrate::PerSocketStorage< T >::getRemoteByPkg ( unsigned int  pkg)
inline
template<typename T>
const T* galois::substrate::PerSocketStorage< T >::getRemoteByPkg ( unsigned int  pkg) const
inline
template<typename T>
PerSocketStorage& galois::substrate::PerSocketStorage< T >::operator= ( PerSocketStorage< T > &&  o)
inline
template<typename T>
PerSocketStorage& galois::substrate::PerSocketStorage< T >::operator= ( const PerSocketStorage< T > &  )
delete
template<typename T>
unsigned galois::substrate::PerSocketStorage< T >::size ( ) const
inline

Member Data Documentation

template<typename T>
PerBackend& galois::substrate::PerSocketStorage< T >::b
protected
template<typename T>
unsigned galois::substrate::PerSocketStorage< T >::offset
protected

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