lock_traits_inverter Struct Template Reference
[Synchronisation Library]

#include <stlsoft/synch/lock_scope.hpp>

List of all members.


Detailed Description

template<typename T>
struct stlsoft::lock_traits_inverter< T >

Traits inverter class for inverting the lock behaviour of lockable traits types.

Parameters:
L The traits class

Public Types

Member Types
typedef T traits_type
 The traits type.
typedef traits_type::lock_type lock_type
 The lockable type.
typedef lock_traits_inverter< T > class_type
 The current parameterisation of this type.

Static Public Member Functions

Operations
static void lock (lock_type &c)
 Unlocks the given lockable instance.
static void unlock (lock_type &c)
 Locks the given lockable instance.

Member Typedef Documentation

typedef T traits_type

The traits type.

typedef traits_type::lock_type lock_type

The lockable type.

The current parameterisation of this type.


Member Function Documentation

static void lock ( lock_type c  )  [inline, static]

Unlocks the given lockable instance.

static void unlock ( lock_type c  )  [inline, static]

Locks the given lockable instance.


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

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