tss_index Class Reference
[Synchronisation Library]

#include <winstl/synch/tss_index.hpp>

List of all members.


Detailed Description

Wrapper for a Win32 TSS key (TLS index).

Public Types

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

Public Member Functions

Construction
 tss_index ()
 Allocates a TSS key.
 ~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.
Accessors
 operator key_type () const
 Implicit conversion operator to the.

Member Typedef Documentation

This class.

typedef ws_dword_t key_type

The type of the TSS key.

The type of the TSS key.

Deprecated:
Deprecated in favour of key_type

typedef void* value_type

The type of the slot values.


Constructor & Destructor Documentation

tss_index (  )  [inline, explicit]

Allocates a TSS key.

~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.

operator key_type (  )  const [inline]

Implicit conversion operator to the.


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

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