perthread< kind > Class Template Reference

A class to keep a collection of thread-specific objects. More...

#include <perthread.h>

Collaboration diagram for perthread< kind >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 perthread (void)
 ~perthread (void)
kind & get (void)
perthreadoperator= (kind &i)
perthreadoperator= (const kind &i)

Protected Attributes

lock< bool > lck



perthreadnode< kind > * first
perthreadnode< kind > * last

Detailed Description

template<class kind>
class perthread< kind >

A class to keep a collection of thread-specific objects.


Constructor & Destructor Documentation

template<class kind>
perthread< kind >::~perthread ( void   )  [inline]

Destructor.

Erases the array, which will delete the collected objects.


Member Function Documentation

template<class kind>
perthread& perthread< kind >::operator= ( kind &  i  )  [inline]

Assign the value.

Whatever value you are keeping in this template will need to be able to deal with operator= for a reference to its own type.


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

Generated on Sun Feb 28 10:36:10 2010 for GRACE by  doxygen 1.6.1