BASE::RCEvent Class Reference

Encapsulation of a windows event. More...

List of all members.

Public Member Functions

 RCEvent (const TBool bInitialSet=false, const TBool bAutoReset=false, const TChar *pEventName=NULL)
void Set ()
TBool IsSet () const
TBool Reset ()
TBool Wait (TLong nTimeout=NO_TIMEOUT) const
TBool Wait (const RCEvent &Abort, TLong nTimeout=NO_TIMEOUT) const
TBool Wait (TLong nTimeout, const RCEvent *pAbort) const
HANDLE Handle () const

Static Public Member Functions

static TSInt MultiWait (TLong nTimeout, const RCEvent *pEvent0, const RCEvent *pEvent1=NULL, const RCEvent *pEvent2=NULL, const RCEvent *pEvent3=NULL)


Detailed Description

Encapsulation of a windows event.

Author:
Patrik Stellmann
This class encapsulates the windows events. Events are used for synchronisation between threads in that way that if one thread needs to wait for another thread the waiting thread can call the Wait-member function and the other thread calls the Set-functionwhen it has finished it's work. Waiting for such an event doesn't require and CPU time.


The documentation for this class was generated from the following file:
Generated on Thu Feb 16 12:46:22 2006 for Simulator Bob by  doxygen 1.4.6-NO