singlethreaded_tss_index Class Reference
[Synchronisation Library]

#include <stlsoft/synch/singlethreaded_tss_index.hpp>

List of all members.


Detailed Description

Interface-compatible single-threaded replacement for unixstl::tss_index, winstl::tss_index and platformstl::tss_index.

Public Types

Types
typedef singlethreaded_tss_index class_type
 This class.
typedef void key_type
 The type of the TSS key.
typedef void * value_type
 The type of the slot values.

Public Member Functions

Construction
 singlethreaded_tss_index ()
 Allocates a TSS key.
 ~singlethreaded_tss_index () throw ()
 Releases the TSS key.
Operations
void set_value (value_type value)
 Sets the value in the slot for the current thread.
value_type get_value () const
 Gets the value in the slot for the current thread.

Member Typedef Documentation

This class.

typedef void key_type

The type of the TSS key.

typedef void* value_type

The type of the slot values.


Constructor & Destructor Documentation

singlethreaded_tss_index (  )  [inline, explicit]

Allocates a TSS key.

~singlethreaded_tss_index (  )  throw () [inline]

Releases the TSS key.


Member Function Documentation

void set_value ( value_type  value  )  [inline]

Sets the value in the slot for the current thread.

value_type get_value (  )  const [inline]

Gets the value in the slot for the current thread.


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

Generated on Thu Jun 10 08:59:01 2010 for STLSoft by  doxygen 1.5.6