定时器类 More...
#include <STimer.h>
Public Member Functions | |
STimer (IEvtSlot *pSlot) | |
构造函数 | |
~STimer (void) | |
析构函数 | |
BOOL | StartTimer (int nElapse, BOOL bRepeat, LPARAM uData=0) OVERRIDE |
启动定时器 | |
void | KillTimer () OVERRIDE |
停止定时器 | |
![]() | |
TObjRefImpl () | |
Constructor that initializes the reference count to 1. | |
virtual | ~TObjRefImpl () |
Virtual destructor. | |
long | AddRef () override |
Increments the reference count. | |
long | Release () override |
Decrements the reference count and deletes the object if the count reaches zero. | |
void | OnFinalRelease () override |
Deletes the object. | |
Additional Inherited Members | |
![]() | |
LONG | m_cRef |
Reference count. | |
SNSBEGIN STimer::STimer | ( | IEvtSlot * | pSlot | ) |
STimer::~STimer | ( | void | ) |
析构函数
Definition at line 12 of file STimer.cpp.
void STimer::KillTimer | ( | ) |
停止定时器
Definition at line 24 of file STimer.cpp.
BOOL STimer::StartTimer | ( | int | nElapse, |
BOOL | bRepeat, | ||
LPARAM | uData = 0 ) |
启动定时器
nElapse | 定时器间隔时间(毫秒) |
bRepeat | 是否重复定时器 |
uData | 用户数据(默认为0) |
Definition at line 17 of file STimer.cpp.