Timer management
[Win32 Tools Library]

Collaboration diagram for Timer management:


Classes

class  CCallbackTimerQueue
 A class that manages a group of timers that implement IQueueTimers::Timer and which have their IQueueTimers::Timer::OnTimer() method called when the timer expires. You must manually manage the handling and processing of timeouts by calling either IManageTimerQueue::HandleTimeouts() or IManageTimerQueue::BeginTimeoutHandling() every IManageTimerQueue::GetNextTimeout() milliseconds. See here for more details. Note: the maximum timeout that you can set is 4294967294ms as 0xFFFFFFF is reserved as 'INFINITE' i.e. a timer that never expires. Internally the code uses an unsigned 64 bit counter which will wrap in around 584942417.4 years from the creation of the timer queue. You cannot set a timer that crosses this wrap point and an exception will be thrown. GetMaximumTimeout() does not report the reducing maximum timeout as the wrap point approaches, it will always return 4294967294ms. More...
class  CCallbackTimerQueueEx
 A class that manages a group of timers that implement IQueueTimers::Timer and which have their IQueueTimers::Timer::OnTimer() method called when the timer expires. You must manually manage the handling and processing of timeouts by calling either IManageTimerQueue::HandleTimeouts() or IManageTimerQueue::BeginTimeoutHandling() every IManageTimerQueue::GetNextTimeout() milliseconds. See here for more details. Note: the maximum timeout that you can set is 4294967294ms as 0xFFFFFFF is reserved as 'INFINITE' i.e. a timer that never expires. Internally the code uses an unsigned 64 bit counter which will wrap in around 584942417.4 years from the creation of the timer queue. You cannot set a timer that crosses this wrap point and an exception will be thrown. GetMaximumTimeout() does not report the reducing maximum timeout as the wrap point approaches, it will always return 4294967294ms. More...
class  IManageTimerQueue
 An interface representing a class that manages timers that implement the IQueueTimers::Timer interface and and which have their IQueueTimers::Timer::OnTimer() method called when the the timer expires. See here for more details. Note that this interface extends IQueueTimers to provide the ability to deal with the timer's timeouts via IManageTimerQueue::HandleTimeouts(). This interface is designed for composing timer queues, such as is done in CThreadedCallbackTimerQueue and not for passing to users of timer queues. More...
class  IProvideLocalTime
 An interface that provides access to the operating system GetLocalTime() call. Code can access this service via an instance to IProvideLocalTime so that the provider can be replaced (usually for testing purposes). See here for more details. More...
class  IProvideTickCount
 An interface that provides access to the operating system GetTickCount() call. Code can access this service via an instance of IProvideTickCount so that the provider can be replaced (usually for testing purposes). See here for more details. More...
class  IProvideTickCount64
 An interface that provides access to the operating system GetTickCount64() call. Code can access this service via an instance of IProvideTickCount64 so that the provider can be replaced (usually for testing purposes). See here for more details. More...
class  IQueueTimers
 An interface representing a class that manages timers that implement the IQueueTimers::Timer interface and and which have their IQueueTimers::Timer::OnTimer() method called when the the timer expires. See here for more details. More...
class  CLocalTimeProvider
 A class that implements IProvideLocalTime and returns the local time directly from a call to the operating system GetLocalTime() function. See here for more details. More...
class  CThreadedCallbackTimerQueue
 A class that manages a group of timers that implement IQueueTimers::Timer and which have their IQueueTimers::Timer::OnTimer() method called when the timer expires. The class uses an implementation of IManageTimerQueue to manage the timers and then manages its own timeouts using a thread to call IManageTimerQueue::HandleTimeouts() or IManageTimerQueue::BeginTimeoutHandling() every GetNextTimeout() milliseconds. You can configure it to use CCallbackTimerQueue, CCallbackTimerQueueEx or supply your own implementation of IManageTimerQueue and you can configure either lock held timer dispatch or no locks timer dispatch. See here for more details. More...
class  CTickCount64Provider
 A class that implements IProvideTickCount64 and returns the tick count directly from a call to the operating system GetTickCount64() function. Note that this is only operational on platforms that support it, on platforms prior to _WIN32_WINNT >= 0x0600 it throws an exception. See here for more details. More...
class  CTickCountProvider
 A class that implements IProvideTickCount and returns the tick count directly from a call to the operating system GetTickCount() function. See here for more details. More...


Generated on Thu Mar 26 16:38:27 2009 for JetByte Socket Tools - v6.0 by  doxygen 1.5.3