Logo Search packages:      
Sourcecode: sbnc version File versions  Download package

CTimer Class Reference

#include <Timer.h>

Inheritance diagram for CTimer:

CZoneObject< CTimer, 512 >

List of all members.

Detailed Description


A timer.

Definition at line 31 of file Timer.h.

Public Member Functions

 CTimer (unsigned int Interval, bool Repeat, TimerProc Function, void *Cookie)
void Destroy (void)
int GetInterval (void) const
bool GetRepeat (void) const
const CZone< CTimer, HunkSize > * GetZone (void)
void operator delete (void *Object)
void * operator new (size_t Size, CMemoryManager *Manager) throw ()
void * operator new (size_t Size) throw ()
void Reschedule (time_t Next)
virtual ~CTimer (void)

Static Public Member Functions

static void CallTimers (void)
static void DestroyAllTimers (void)
static time_t GetNextCall (void)

Private Member Functions

bool Call (time_t Now)

Static Private Member Functions

static void RescheduleTimers (void)

Private Attributes

void * m_Cookie
unsigned int m_Interval
link_t< CTimer * > * m_Link
time_t m_Next
TimerProc m_Proc
bool m_Repeat

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

Generated by  Doxygen 1.6.0   Back to index