CVD::Lock Struct Reference

#include <synchronized.h>

List of all members.


Detailed Description

A utility class for locking and unlocking Synchronized objects automatically.

A Lock object should be declared on the stack in the same scope as the object to be locked. When the Lock object goes out of scope, the mutex is released. This is especially useful in code that throws exceptions.

Definition at line 40 of file synchronized.h.


Public Member Functions

 Lock (const Synchronized &obj)
virtual ~Lock ()

Public Attributes

const SynchronizedmyObject

The documentation for this struct was generated from the following file:
Generated on Wed Feb 18 10:23:08 2009 for CVD by  doxygen 1.5.3