library of assembled shared sources

http://lass.cocamware.com

lass::util::ThreadLocalStorage Class Reference
[Threading]

A primitive to provide Thread Local Storage functionality. More...

#include <thread.h>

Inheritance diagram for lass::util::ThreadLocalStorage:

Inheritance graph
[legend]
Collaboration diagram for lass::util::ThreadLocalStorage:

Collaboration graph
[legend]

Public Member Functions

 ThreadLocalStorage (void(*destructor)(void *)=0)
 ~ThreadLocalStorage ()
void *const get () const
void set (void *value)

Private Member Functions

void swap (NonCopyable &)

Private Attributes

impl::ThreadLocalStorageInternalpimpl_

Detailed Description

A primitive to provide Thread Local Storage functionality.

Definition at line 228 of file thread.h.


Constructor & Destructor Documentation

lass::util::ThreadLocalStorage::ThreadLocalStorage ( void(*)(void *)  destructor = 0  ) 

Definition at line 255 of file thread.cpp.

References pimpl_.

lass::util::ThreadLocalStorage::~ThreadLocalStorage (  ) 

Definition at line 260 of file thread.cpp.

References pimpl_.


Member Function Documentation

void *const lass::util::ThreadLocalStorage::get (  )  const

void lass::util::ThreadLocalStorage::set ( void *  value  ) 

void lass::util::NonCopyable::swap ( NonCopyable  )  [inline, protected, inherited]

Definition at line 60 of file non_copyable.h.

Referenced by lass::io::Image::readLine().


Field Documentation

Definition at line 236 of file thread.h.

Referenced by get(), set(), ThreadLocalStorage(), and ~ThreadLocalStorage().


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

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