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 lock_traits<L> class_type

The current parameterisation of this type.

typedef L lock_type

The lockable type.


Member Function Documentation

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

Locks the given lockable instance.

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

Unlocks the given lockable instance.


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2007