JunkBox_Win_Lib 1.5.3
|
#include <WinTools.h>
Public Member Functions | |
EventHandler (void) | |
EventHandler (BOOL manual, BOOL initial=FALSE, LPCTSTR hname=NULL, LPSECURITY_ATTRIBUTES sec=NULL) | |
virtual | ~EventHandler (void) |
HANDLE | create (BOOL manual=TRUE, BOOL initial=FALSE, LPCTSTR hname=NULL, LPSECURITY_ATTRIBUTES sec=NULL) |
void | clear (void) |
BOOL | set (void) |
BOOL | wait (DWORD msec=INFINITE) |
BOOL | wait (HANDLE handle, DWORD msec=INFINITE) |
Public Attributes | |
HANDLE | m_handle |
DWORD | m_wait_err |
Definition at line 185 of file WinTools.h.
EventHandler | ( | void | ) |
Definition at line 841 of file WinTools.cpp.
References EventHandler::m_handle, and EventHandler::m_wait_err.
EventHandler | ( | BOOL | manual, |
BOOL | initial = FALSE, | ||
LPCTSTR | hname = NULL, | ||
LPSECURITY_ATTRIBUTES | sec = NULL ) |
Definition at line 848 of file WinTools.cpp.
References EventHandler::create(), EventHandler::m_handle, and EventHandler::m_wait_err.
|
inlinevirtual |
Definition at line 191 of file WinTools.h.
References EventHandler::clear().
void clear | ( | void | ) |
Definition at line 856 of file WinTools.cpp.
References EventHandler::m_handle, and EventHandler::m_wait_err.
Referenced by EventHandler::~EventHandler().
HANDLE create | ( | BOOL | manual = TRUE, |
BOOL | initial = FALSE, | ||
LPCTSTR | hname = NULL, | ||
LPSECURITY_ATTRIBUTES | sec = NULL ) |
Definition at line 868 of file WinTools.cpp.
References EventHandler::m_handle.
Referenced by EventHandler::EventHandler().
|
inline |
BOOL wait | ( | DWORD | msec = INFINITE | ) |
BOOL EventHandler::wait(DWORD msec=INFINITE)
m_wait_err: WAIT_OBJECT_0 WAIT_TIMEOUT WAIT_FAILED WAIT_ABANDONED
Definition at line 886 of file WinTools.cpp.
References EventHandler::m_handle, and EventHandler::m_wait_err.
BOOL wait | ( | HANDLE | handle, |
DWORD | msec = INFINITE ) |
Definition at line 898 of file WinTools.cpp.
References EventHandler::m_wait_err.
HANDLE m_handle |
Definition at line 193 of file WinTools.h.
Referenced by EventHandler::clear(), EventHandler::create(), EventHandler::EventHandler(), EventHandler::EventHandler(), EventHandler::set(), and EventHandler::wait().
DWORD m_wait_err |
Definition at line 194 of file WinTools.h.
Referenced by EventHandler::clear(), EventHandler::EventHandler(), EventHandler::EventHandler(), EventHandler::wait(), and EventHandler::wait().