lock_traits Struct Template Reference
[Synchronisation Library]

#include <stlsoft/synch/lock_scope.hpp>

List of all members.


Detailed Description

template<typename L>
struct stlsoft::lock_traits< L >

Traits class for lockable objects.

Parameters:
L The lockable class

Public Types

Member Types
typedef L lock_type
 The lockable type.
typedef lock_traits< L > class_type
 The current parameterisation of this type.

Static Public Member Functions

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

Member Typedef Documentation

typedef L lock_type

The lockable type.

typedef lock_traits<L> class_type

The current parameterisation of this type.


Member Function Documentation

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

Locks the given lockable instance.

References stlsoft::lock_instance().

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

Unlocks the given lockable instance.

References stlsoft::unlock_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