Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Event Class Reference

#include "OVR_Threads.h"

Collaboration diagram for OVR::Event:
Collaboration graph

Public Member Functions

 Event (bool setInitially=0)
 
 ~Event ()
 
bool Wait (unsigned delay=OVR_WAIT_INFINITE)
 
void SetEvent ()
 
void ResetEvent ()
 
void PulseEvent ()
 

Private Member Functions

void updateState (bool newState, bool newTemp, bool mustNotify)
 

Private Attributes

volatile bool State
 
volatile bool Temporary
 
Mutex StateMutex
 
WaitCondition StateWaitCondition
 

Detailed Description

Definition at line 141 of file OVR_Threads.h.

Constructor & Destructor Documentation

OVR::Event::Event ( bool  setInitially = 0)
inline

Definition at line 152 of file OVR_Threads.h.

OVR::Event::~Event ( )
inline

Definition at line 153 of file OVR_Threads.h.

Member Function Documentation

void OVR::Event::PulseEvent ( )
inline

Definition at line 170 of file OVR_Threads.h.

void OVR::Event::ResetEvent ( )
inline

Definition at line 164 of file OVR_Threads.h.

void OVR::Event::SetEvent ( )
inline

Definition at line 160 of file OVR_Threads.h.

void OVR::Event::updateState ( bool  newState,
bool  newTemp,
bool  mustNotify 
)
private

Definition at line 219 of file OVR_ThreadsPthread.cpp.

bool OVR::Event::Wait ( unsigned  delay = OVR_WAIT_INFINITE)

Definition at line 193 of file OVR_ThreadsPthread.cpp.

Field Documentation

volatile bool OVR::Event::State
private

Definition at line 144 of file OVR_Threads.h.

Mutex OVR::Event::StateMutex
mutableprivate

Definition at line 146 of file OVR_Threads.h.

WaitCondition OVR::Event::StateWaitCondition
private

Definition at line 147 of file OVR_Threads.h.

volatile bool OVR::Event::Temporary
private

Definition at line 145 of file OVR_Threads.h.


The documentation for this class was generated from the following files: