Win360::Win360Event Class Reference
#include <win360event.h>
Inheritance diagram for Win360::Win360Event:
Detailed Description
Win32/Xbox360 implmentation of an event synchronization object.(C) 2006 Radon Labs GmbH
Public Member Functions | |
Win360Event (bool manualReset=false) | |
constructor | |
~Win360Event () | |
destructor | |
void | Signal () |
signal the event | |
void | Reset () |
reset the event (only if manual reset) | |
void | Wait () const |
wait for the event to become signalled | |
bool | WaitTimeout (int ms) const |
wait for the event with timeout in millisecs | |
bool | Peek () const |
check if event is signalled |
Member Function Documentation
bool Win360::Win360Event::WaitTimeout | ( | int | timeoutInMilliSec | ) | const [inline] |
wait for the event with timeout in millisecs
Waits for the event to become signaled with a specified timeout in milli seconds. If the method times out it will return false, if the event becomes signalled within the timeout it will return true.
bool Win360::Win360Event::Peek | ( | ) | const [inline] |
check if event is signalled
This checks if the event is signalled and returnes immediately.