OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
owl::TWaitableTimer Class Reference

#include <owl/thread.h>

Inheritance diagram for owl::TWaitableTimer:
owl::TSemaphore

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.
 

Detailed Description

Definition at line 209 of file thread.h.

Constructor & Destructor Documentation

◆ TWaitableTimer() [1/5]

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.

◆ TWaitableTimer() [2/5]

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.

◆ TWaitableTimer() [3/5]

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.

◆ TWaitableTimer() [4/5]

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.

◆ TWaitableTimer() [5/5]

owl::TWaitableTimer::TWaitableTimer ( THandle handle)
inline

Definition at line 1209 of file thread.h.

References owl::TSemaphore::Handle.

◆ ~TWaitableTimer()

owl::TWaitableTimer::~TWaitableTimer ( )
inlinevirtual

Definition at line 1215 of file thread.h.

References owl::TSemaphore::Handle.

Member Function Documentation

◆ Cancel()

bool owl::TWaitableTimer::Cancel ( )

Definition at line 97 of file thread.cpp.

References owl::TSemaphore::Handle.

◆ Release()

void owl::TWaitableTimer::Release ( )
virtual

Implements owl::TSemaphore.

Definition at line 109 of file thread.cpp.

◆ Set()

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.


The documentation for this class was generated from the following files: