Public Member Functions | Static Public Member Functions | Protected Attributes | Static Private Attributes

UT_Win32Timer Class Reference

#include <ut_Win32Timer.h>

Inheritance diagram for UT_Win32Timer:
UT_Timer UT_Worker

List of all members.

Public Member Functions

 UT_Win32Timer (UT_TimerCallback pCallback, void *pData)
 ~UT_Win32Timer ()
virtual UT_sint32 set (UT_uint32 iMilliseconds)
virtual void stop (void)
virtual void start (void)
bool isActive (void) const

Static Public Member Functions

static UT_Win32TimerfindWin32Timer (UINT win32ID)
static void pauseAllTimers (bool bPause)
static bool timersPaused ()

Protected Attributes

UT_sint32 m_iMilliseconds
bool m_bStarted
UINT m_win32ID

Static Private Attributes

static bool s_bPauseAllTimers = false

Constructor & Destructor Documentation

UT_Win32Timer::UT_Win32Timer ( UT_TimerCallback  pCallback,
void *  pData 
UT_Win32Timer::~UT_Win32Timer (  ) 

References stop().

Member Function Documentation

UT_Win32Timer * UT_Win32Timer::findWin32Timer ( UINT  win32ID  )  [static]
bool UT_Win32Timer::isActive ( void   )  const [inline]
static void UT_Win32Timer::pauseAllTimers ( bool  bPause  )  [inline, static]
UT_sint32 UT_Win32Timer::set ( UT_uint32  iMilliseconds  )  [virtual]
void UT_Win32Timer::start ( void   )  [virtual]

Implements UT_Timer.

References m_bStarted, m_iMilliseconds, and UT_ASSERT.

void UT_Win32Timer::stop ( void   )  [virtual]

Implements UT_Timer.

References m_bStarted, and m_win32ID.

Referenced by ~UT_Win32Timer().

static bool UT_Win32Timer::timersPaused (  )  [inline, static]

Member Data Documentation

bool UT_Win32Timer::m_bStarted [protected]

Referenced by set(), start(), and stop().

Referenced by set(), and start().

UINT UT_Win32Timer::m_win32ID [protected]

Referenced by findWin32Timer(), set(), and stop().

bool UT_Win32Timer::s_bPauseAllTimers = false [static, private]

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