Public Member Functions | |
PROUD_API CTimerQueueTimer * | NewTimer (NewTimerParam &Param) |
Additional Inherited Members | |
Public Types inherited from Proud::DllSingleton< CTimerQueue > | |
typedef RefCount< CTimerQueue > | PtrType |
Static Public Member Functions inherited from Proud::DllSingleton< CTimerQueue > | |
static CTimerQueue & | GetUnsafeRef () |
static PtrType | GetSharedPtr () |
Singleton class that can execute periodic tick event at thread pool provided by OS
PROUD_API CTimerQueueTimer* Proud::CTimerQueue::NewTimer | ( | NewTimerParam & | Param | ) |
Periodically registeres user function calling
callback | User function to be called periodically |
ctx | user parameter to be delivered to callback |
period | the period that user function to be called in millisecond |