#include <WaitableEvent.h>
An event on which one can wait with a waiter.
Definition at line 44 of file WaitableEvent.h.
◆ WaitableEvent()
hu::varadiistvan::scpl::io::WaitableEvent::WaitableEvent |
( |
Waiter * |
waiter = 0 | ) |
|
Construct the event.
- Parameters
-
waiter | the waiter to be used for waiting. If given, the check() function will always return immediately. If not given, the check() function may block and returns only when the event is fired. |
◆ ~WaitableEvent()
virtual hu::varadiistvan::scpl::io::WaitableEvent::~WaitableEvent |
( |
| ) |
|
|
virtual |
◆ check()
bool hu::varadiistvan::scpl::io::WaitableEvent::check |
( |
| ) |
|
Check if the event is fired or not. If so, the fired status will be cleared.
◆ fire()
void hu::varadiistvan::scpl::io::WaitableEvent::fire |
( |
| ) |
|
The documentation for this class was generated from the following file: