sprint 1-alpha
Public Member Functions
sprint::event Class Reference

Event object. can be signaled or unsignaled, waited on it. More...

#include <event.h>

List of all members.

Public Member Functions

 event (bool bManualReset=true, bool InitialStatus=false)
 ctor
void signal () const
 signal the event. Waiting thread will be woke up
void unsignal () const
 reset the event (is bManualReset = false)
bool wait (DWORD timeout) const
DWORD win_wait (DWORD timeout) const
 attende che l'evento accada e ritorna la risposta (solo sotto Windows)
 operator HANDLE ()
 cast to HANDLE

Detailed Description

Event object. can be signaled or unsignaled, waited on it.


Member Function Documentation

bool sprint::event::wait ( DWORD  timeout) const

attende che l'evento accada

Returns:
true se l'evento e' accaduto, altrimenti false per un errore o il timeout

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines