CriticalSection Class Reference

A class that wraps platform specific "critical section" implementation. More...

List of all members.

Public Member Functions

 CriticalSection ()
 Constructor.
void Enter () const
 Enters a critical section.
void Leave () const
 Leaves a critical section.
virtual ~CriticalSection ()
 Destructor.

Protected Member Functions

 CriticalSection (const CriticalSection &)
 Copy Constructor.
CriticalSectionoperator= (const CriticalSection &)
 Assignment Operator.

Protected Attributes

simba_critical_section m_criticalSection

Detailed Description

A class that wraps platform specific "critical section" implementation.


Constructor & Destructor Documentation

CriticalSection (  ) 

Constructor.

virtual ~CriticalSection (  )  [virtual]

Destructor.

CriticalSection ( const CriticalSection  )  [protected]

Copy Constructor.

Declared private to prevent usage.


Member Function Documentation

void Enter (  )  const [inline]

Enters a critical section.

This method is const, and uses const_cast, so that CriticalSectionLocks can be used in const methods.

void Leave (  )  const [inline]

Leaves a critical section.

This method is const, and uses const_cast, so that CriticalSectionLocks can be used in const methods.

CriticalSection& operator= ( const CriticalSection  )  [protected]

Assignment Operator.

Declared private to prevent usage.


Member Data Documentation


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