Public Member Functions

zeus::TCriticalScopeLock Class Reference

#include <CriticalScopeLock.hpp>

Inheritance diagram for zeus::TCriticalScopeLock:
zeus::TZObject zeus::IZUnknown

List of all members.

Public Member Functions

 TCriticalScopeLock (TCriticalSection &rLock)
virtual ~TCriticalScopeLock ()

Detailed Description

This class protects a critical scope of program code. This object is a stack type, which is destroyed automatically after leaving the scope of its creation.


Constructor & Destructor Documentation

zeus::TCriticalScopeLock::TCriticalScopeLock ( TCriticalSection rLock ) [inline, explicit]

Creates a critical section lock

Parameters:
rLock: Protection lock
virtual zeus::TCriticalScopeLock::~TCriticalScopeLock (  ) [inline, virtual]

Destroys the critical section lock


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:33