AutoSemaphoreUp Class Reference

A class that guarantees the Up() method will be called on the given semaphore upon destruction of an object of this class. More...

List of all members.

Public Member Functions

 AutoSemaphoreUp (const Semaphore &in_semaphore)
 Constructor.
 ~AutoSemaphoreUp ()
 Destructor.

Detailed Description

A class that guarantees the Up() method will be called on the given semaphore upon destruction of an object of this class.

This class is designed to be used as an auto variable on a stack.


Constructor & Destructor Documentation

AutoSemaphoreUp ( const Semaphore in_semaphore  )  [inline]

Constructor.

Parameters:
in_semaphore The semaphore upon which Up() will be called.
~AutoSemaphoreUp (  )  [inline]

Destructor.

Calls Up() on the semaphore.


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