#include <perThread.h>


Public Member Functions | |
| PerThread () | |
| Construct a new per-thread variable. | |
| ~PerThread () | |
| Destruct the per-thread variable. | |
| PerThread< T > & | operator= (const T *data) |
| Assign an object to the thread-local storage. | |
| PerThread< T > & | operator= (const PerThread< T > &rhs) |
| Assign an object from another thread-local storage. | |
| T * | get () |
| const T * | get () const |
| T * | operator-> () |
| Access the thread-local object. | |
| const T * | operator-> () const |
| Access the thread-local object. | |
| bool | operator== (const PerThread &rhs) const |
| bool | operator== (const T *rhs) const |
| bool | operator!= (const T *rhs) const |
Protected Member Functions | |
| virtual void | notifyExecutionStopping () |
| Notify that the execution unit is about to stop. | |
The object has to implement notifyPerThreadDelete().
Definition at line 39 of file perThread.h.
| eq::base::PerThread< T >::PerThread | ( | ) |
Construct a new per-thread variable.
| eq::base::PerThread< T >::~PerThread | ( | ) |
Destruct the per-thread variable.
| PerThread<T>& eq::base::PerThread< T >::operator= | ( | const T * | data | ) |
Assign an object to the thread-local storage.
| PerThread<T>& eq::base::PerThread< T >::operator= | ( | const PerThread< T > & | rhs | ) |
Assign an object from another thread-local storage.
| T* eq::base::PerThread< T >::get | ( | ) |
Referenced by eq::base::PerThread< T >::operator==().

| const T* eq::base::PerThread< T >::get | ( | ) | const |
| T* eq::base::PerThread< T >::operator-> | ( | ) |
Access the thread-local object.
| const T* eq::base::PerThread< T >::operator-> | ( | ) | const |
Access the thread-local object.
| bool eq::base::PerThread< T >::operator== | ( | const PerThread< T > & | rhs | ) | const [inline] |
Definition at line 63 of file perThread.h.
References eq::base::PerThread< T >::get().

| bool eq::base::PerThread< T >::operator== | ( | const T * | rhs | ) | const [inline] |
Definition at line 66 of file perThread.h.
| bool eq::base::PerThread< T >::operator!= | ( | const T * | rhs | ) | const [inline] |
Definition at line 68 of file perThread.h.
| virtual void eq::base::PerThread< T >::notifyExecutionStopping | ( | ) | [protected, virtual] |
0.9 by
1.5.8