STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

lock_traits Struct Template Reference

Traits class for lockable objects. More...

#include <stlsoft_lock_scope.h>

List of all members.

Public Types

typedef L lock_type
 The lockable type.

typedef lock_traits< L > class_type
 The current parameterisation of this type.


Static Public Methods

void lock (lock_type &c)
 Locks the given lockable instance.

void unlock (lock_type &c)
 Unlocks the given lockable instance.


Detailed Description

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

Traits class for lockable objects.

Parameters:
L  The lockable class


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

void lock lock_type   c [inline, static]
 

Locks the given lockable instance.

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-2004