#include <OVR_Threads.h>
Public Member Functions | |
| Event (bool setInitially=0) | |
| void | PulseEvent () |
| void | ResetEvent () |
| void | SetEvent () |
| bool | Wait (unsigned delay=OVR_WAIT_INFINITE) |
| ~Event () | |
Private Member Functions | |
| void | updateState (bool newState, bool newTemp, bool mustNotify) |
Private Attributes | |
| volatile bool | State |
| Mutex | StateMutex |
| WaitCondition | StateWaitCondition |
| volatile bool | Temporary |
Definition at line 130 of file OVR_Threads.h.
| OVR::Event::Event | ( | bool | setInitially = 0 | ) | [inline] |
Definition at line 141 of file OVR_Threads.h.
| OVR::Event::~Event | ( | ) | [inline] |
Definition at line 142 of file OVR_Threads.h.
| void OVR::Event::PulseEvent | ( | ) | [inline] |
Definition at line 159 of file OVR_Threads.h.
| void OVR::Event::ResetEvent | ( | ) | [inline] |
Definition at line 153 of file OVR_Threads.h.
| void OVR::Event::SetEvent | ( | ) | [inline] |
Definition at line 149 of file OVR_Threads.h.
| void OVR::Event::updateState | ( | bool | newState, |
| bool | newTemp, | ||
| bool | mustNotify | ||
| ) | [private] |
Definition at line 199 of file OVR_ThreadsPthread.cpp.
| bool OVR::Event::Wait | ( | unsigned | delay = OVR_WAIT_INFINITE | ) |
Definition at line 173 of file OVR_ThreadsPthread.cpp.
volatile bool OVR::Event::State [private] |
Definition at line 133 of file OVR_Threads.h.
Mutex OVR::Event::StateMutex [mutable, private] |
Definition at line 135 of file OVR_Threads.h.
WaitCondition OVR::Event::StateWaitCondition [private] |
Definition at line 136 of file OVR_Threads.h.
volatile bool OVR::Event::Temporary [private] |
Definition at line 134 of file OVR_Threads.h.