library of assembled shared sources

http://lass.cocamware.com

lass::spat::experimental::ResetableThreadLocalVariable< T > Class Template Reference

#include <planar_mesh.h>

Inheritance diagram for lass::spat::experimental::ResetableThreadLocalVariable< T >:

Inheritance graph
[legend]
Collaboration diagram for lass::spat::experimental::ResetableThreadLocalVariable< T >:

Collaboration graph
[legend]

Data Structures

struct  Impl

Public Member Functions

 ResetableThreadLocalVariable (const T &proto=T())
 ~ResetableThreadLocalVariable ()
T & operator* ()
const T & operator* () const
void reset (const T &proto)

Private Types

typedef
util::ThreadLocalVariable
< Impl
TTls

Private Member Functions

void registerImpl (Impl *impl)
void unregisterImpl (Impl *impl)

Private Attributes

char tls_ [sizeof(TTls)]
std::list< T > values_
proto_
util::Semaphore mutex_

Detailed Description

template<typename T>
class lass::spat::experimental::ResetableThreadLocalVariable< T >

Definition at line 159 of file planar_mesh.h.


Member Typedef Documentation

Definition at line 209 of file planar_mesh.h.


Constructor & Destructor Documentation

template<typename T >
lass::spat::experimental::ResetableThreadLocalVariable< T >::ResetableThreadLocalVariable ( const T &  proto = T()  )  [inline]

Definition at line 162 of file planar_mesh.h.

Definition at line 169 of file planar_mesh.h.


Member Function Documentation

template<typename T >
T& lass::spat::experimental::ResetableThreadLocalVariable< T >::operator* (  )  [inline]

Definition at line 174 of file planar_mesh.h.

template<typename T >
const T& lass::spat::experimental::ResetableThreadLocalVariable< T >::operator* (  )  const [inline]

Definition at line 178 of file planar_mesh.h.

template<typename T >
void lass::spat::experimental::ResetableThreadLocalVariable< T >::reset ( const T &  proto  )  [inline]

template<typename T >
void lass::spat::experimental::ResetableThreadLocalVariable< T >::registerImpl ( Impl impl  )  [inline, private]

Definition at line 211 of file planar_mesh.h.

template<typename T >
void lass::spat::experimental::ResetableThreadLocalVariable< T >::unregisterImpl ( Impl impl  )  [inline, private]

Definition at line 219 of file planar_mesh.h.


Field Documentation

template<typename T >
char lass::spat::experimental::ResetableThreadLocalVariable< T >::tls_[sizeof(TTls)] [private]

Definition at line 227 of file planar_mesh.h.

template<typename T >
std::list<T> lass::spat::experimental::ResetableThreadLocalVariable< T >::values_ [private]

Definition at line 228 of file planar_mesh.h.

template<typename T >
T lass::spat::experimental::ResetableThreadLocalVariable< T >::proto_ [private]

Definition at line 229 of file planar_mesh.h.

Definition at line 230 of file planar_mesh.h.


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

Generated on Mon Nov 10 14:22:15 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo