OWLNext 7.0
Borland's Object Windows Library for the modern age
|
#include <owl/thread.h>
Public Member Functions | |
TWaitableTimer (bool manualReset=false, LPCTSTR name=nullptr, LPSECURITY_ATTRIBUTES sa=nullptr) | |
TWaitableTimer (bool manualReset, const tstring &name, LPSECURITY_ATTRIBUTES sa=nullptr) | |
TWaitableTimer (LPCTSTR name, bool inherit=false, uint32 dwDesiredAccess=FILE_ALL_ACCESS) | |
TWaitableTimer (const tstring &name, bool inherit=false, uint32 dwDesiredAccess=FILE_ALL_ACCESS) | |
TWaitableTimer (THandle handle) | |
virtual | ~TWaitableTimer () |
bool | Set (const TFileTime &duetime, int32 period=0, PTIMERAPCROUTINE compFunc=nullptr, void *param=nullptr, bool resume=false) |
bool | Cancel () |
virtual void | Release () |
Public Member Functions inherited from owl::TSemaphore | |
virtual | ~TSemaphore () |
operator THandle () const | |
Additional Inherited Members | |
Public Types inherited from owl::TSemaphore | |
enum | { NoWait = 0 , NoLimit = INFINITE } |
typedef HANDLE | THandle |
Protected Attributes inherited from owl::TSemaphore | |
THandle | Handle |
Derived class must initialize. | |
owl::TWaitableTimer::TWaitableTimer | ( | bool | manualReset = false, |
LPCTSTR | name = nullptr, | ||
LPSECURITY_ATTRIBUTES | sa = nullptr ) |
Definition at line 64 of file thread.cpp.
References _T, and owl::TSemaphore::Handle.
owl::TWaitableTimer::TWaitableTimer | ( | bool | manualReset, |
const tstring & | name, | ||
LPSECURITY_ATTRIBUTES | sa = nullptr ) |
Definition at line 73 of file thread.cpp.
References _T, and owl::TSemaphore::Handle.
owl::TWaitableTimer::TWaitableTimer | ( | LPCTSTR | name, |
bool | inherit = false, | ||
uint32 | dwDesiredAccess = FILE_ALL_ACCESS ) |
Definition at line 80 of file thread.cpp.
References _T, and owl::TSemaphore::Handle.
owl::TWaitableTimer::TWaitableTimer | ( | const tstring & | name, |
bool | inherit = false, | ||
uint32 | dwDesiredAccess = FILE_ALL_ACCESS ) |
Definition at line 89 of file thread.cpp.
References _T, and owl::TSemaphore::Handle.
|
inline |
Definition at line 1209 of file thread.h.
References owl::TSemaphore::Handle.
|
inlinevirtual |
Definition at line 1215 of file thread.h.
References owl::TSemaphore::Handle.
bool owl::TWaitableTimer::Cancel | ( | ) |
Definition at line 97 of file thread.cpp.
References owl::TSemaphore::Handle.
|
virtual |
Implements owl::TSemaphore.
Definition at line 109 of file thread.cpp.
bool owl::TWaitableTimer::Set | ( | const TFileTime & | duetime, |
int32 | period = 0, | ||
PTIMERAPCROUTINE | compFunc = nullptr, | ||
void * | param = nullptr, | ||
bool | resume = false ) |
Definition at line 104 of file thread.cpp.
References owl::TSemaphore::Handle.