Public Member Functions | |
Event () | |
Default constructor. | |
virtual | ~Event () |
Destructor. | |
void | reset (void) |
void | signal (void) |
bool | wait (unsigned long timeout=INFINITE) |
openalpp::Event::Event | ( | ) |
Default constructor.
virtual openalpp::Event::~Event | ( | ) | [virtual] |
Destructor.
void openalpp::Event::reset | ( | void | ) |
When an Event has been signaled, it has to be reset before it can respond to a new signal.
void openalpp::Event::signal | ( | void | ) |
Signal the event for the waiting thread.
bool openalpp::Event::wait | ( | unsigned long | timeout = INFINITE |
) |
Wait either for the event to be signaled by another thread or for the specified timeout duration.
timer | timeout in milliseconds to wait for a signal. |