Definition at line 27 of file sdl_common_utils.hpp.
◆ WinPREvent()
| WinPREvent::WinPREvent |
( |
bool |
initial = false | ) |
|
|
explicit |
Definition at line 43 of file sdl_common_utils.cpp.
43 : _handle(CreateEventA(nullptr, TRUE, initial, nullptr))
44{
45}
◆ ~WinPREvent()
| WinPREvent::~WinPREvent |
( |
| ) |
|
◆ clear()
| void WinPREvent::clear |
( |
| ) |
|
◆ handle()
| HANDLE WinPREvent::handle |
( |
| ) |
const |
◆ isSet()
| bool WinPREvent::isSet |
( |
| ) |
const |
Definition at line 62 of file sdl_common_utils.cpp.
63{
64 return WaitForSingleObject(_handle, 0) == WAIT_OBJECT_0;
65}
◆ set()
The documentation for this class was generated from the following files: