mitkSemaphore Class Reference
mitkSemaphore - a class that encapsulates a semaphore
More...
#include <mitkSemaphore.h>
Inherits mitkObject.
Inheritance diagram for mitkSemaphore:
[legend]Collaboration diagram for mitkSemaphore:
[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
1.4.3