Dokumentation

PerCore< T > Class Template Reference

Handy interface for core local variables. More...

#include <object/percore.h>

Public Member Functions

 PerCore ()
 
 PerCore (const T &val)
 
T & get ()
 
const T & get () const
 
const T & set (const T &value)
 
T * operator-> ()
 
const T * operator-> () const
 
T & operator* ()
 
const T & operator* () const
 
T * operator& ()
 
T & operator* () volatile
 
T & operator= (T &val)
 
T operator++ (int)
 
T & operator++ ()
 
T operator-- (int)
 
T & operator-- ()
 
bool operator== (const T &val) const
 
bool operator!= (const T &val) const
 
T & operator[] (unsigned index)
 Access the variable of another CPU.
 
T & operator[] (unsigned index) volatile
 
const T & operator[] (unsigned index) const
 

Detailed Description

template<typename T>
class PerCore< T >

Handy interface for core local variables.

Constructor & Destructor Documentation

template<typename T >
PerCore< T >::PerCore ( )
inline
template<typename T >
PerCore< T >::PerCore ( const T &  val)
inlineexplicit

Member Function Documentation

template<typename T >
T & PerCore< T >::get ( )
inline
template<typename T >
const T & PerCore< T >::get ( ) const
inline
template<typename T >
const T & PerCore< T >::set ( const T &  value)
inline
template<typename T >
T * PerCore< T >::operator-> ( )
inline
template<typename T >
const T * PerCore< T >::operator-> ( ) const
inline
template<typename T >
T & PerCore< T >::operator* ( )
inline
template<typename T >
const T & PerCore< T >::operator* ( ) const
inline
template<typename T >
T * PerCore< T >::operator& ( )
inline
template<typename T >
T & PerCore< T >::operator* ( ) volatile
inline
template<typename T >
T & PerCore< T >::operator= ( T &  val)
inline
template<typename T >
T PerCore< T >::operator++ ( int  )
inline
template<typename T >
T & PerCore< T >::operator++ ( )
inline
template<typename T >
T PerCore< T >::operator-- ( int  )
inline
template<typename T >
T & PerCore< T >::operator-- ( )
inline
template<typename T >
bool PerCore< T >::operator== ( const T &  val) const
inline
template<typename T >
bool PerCore< T >::operator!= ( const T &  val) const
inline
template<typename T >
T & PerCore< T >::operator[] ( unsigned  index)
inline

Access the variable of another CPU.

template<typename T >
T & PerCore< T >::operator[] ( unsigned  index) volatile
inline
template<typename T >
const T & PerCore< T >::operator[] ( unsigned  index) const
inline

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