ConditionalCriticalSectionLock Class Reference

A class that supports exception safe use of a CriticalSection, but locks conditionally. More...

List of all members.

Public Member Functions

 ConditionalCriticalSectionLock (const CriticalSection &in_cs, bool in_shouldLock)
 Constructor.
 ~ConditionalCriticalSectionLock ()
 Destructor.

Detailed Description

A class that supports exception safe use of a CriticalSection, but locks conditionally.


Constructor & Destructor Documentation

ConditionalCriticalSectionLock ( const CriticalSection in_cs,
bool  in_shouldLock 
) [inline]

Constructor.

Parameters:
in_cs The CriticalSection to lock. (NOT OWN)
in_shouldLock Whether this object should lock the critical section.
~ConditionalCriticalSectionLock (  )  [inline]

Destructor.


The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba