class_level_lock< _Host, _RealLock > Class Template Reference

Helper class for class-level locking. More...

#include <class_level_lock.h>

Collaboration diagram for class_level_lock< _Host, _RealLock >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef volatile _Host volatile_type

Friends

class lock

Classes

class  lock
 Type that provides locking/unlocking semantics. More...

Detailed Description

template<class _Host, bool _RealLock = true>
class class_level_lock< _Host, _RealLock >

Helper class for class-level locking.

This is the multi-threaded implementation. The main departure from Loki ClassLevelLockable is that there is an additional template parameter which can make the lock not lock at all even in multi-threaded environments. See static_mem_pool.h for real usage.


Member Typedef Documentation

template<class _Host, bool _RealLock = true>
typedef volatile _Host class_level_lock< _Host, _RealLock >::volatile_type


Friends And Related Function Documentation

template<class _Host, bool _RealLock = true>
friend class lock [friend]


The documentation for this class was generated from the following file:
Generated on Mon Dec 31 15:07:33 2007 for Nvwa by  doxygen 1.5.1