Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkSemaphore Class Reference

mitkSemaphore - a class that encapsulates a semaphore More...

#include <mitkSemaphore.h>

Inherits mitkObject.

Inheritance diagram for mitkSemaphore:

Inheritance graph
[legend]
Collaboration diagram for mitkSemaphore:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void Wait ()
void Post (int count=1)

Detailed Description

mitkSemaphore - a class that encapsulates a semaphore

mitkSemaphore encapsulates a semaphore.


Member Function Documentation

void mitkSemaphore::Post int  count = 1  )  [inline]
 

Add count to the semaphore object

Parameters:
count Specify the count to be added to the semaphore object

void mitkSemaphore::Wait  )  [inline]
 

Wait for the semaphore object and decrease the count


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:05:53 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3