nvwa::class_level_lock< _Host, _RealLock > Class Template Reference

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

#include <class_level_lock.h>

Collaboration diagram for nvwa::class_level_lock< _Host, _RealLock >:
Collaboration graph
[legend]

List of all members.

Classes

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

Public Types

typedef volatile _Host volatile_type

Friends

class lock

Detailed Description

template<class _Host, bool _RealLock = true>
class nvwa::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 nvwa::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:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated by  doxygen 1.6.2