Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ThreadSpawningTimer Class Reference

This is a singleton that spawns a new thread to run each scheduled event. More...

#include <ThreadSpawningTimer.h>

Inheritance diagram for ThreadSpawningTimer::

Timer BasicObject List of all members.

Static Public Methods

ThreadSpawningTimer * instance ()
void destroy ()

Private Methods

 ThreadSpawningTimer ()
 ~ThreadSpawningTimer ()
virtual void doAction (TimerNode *)
 a Template Method, subclasses must override. More...


Private Attributes

pthread_attr_t m_attr

Static Private Attributes

ThreadSpawningTimer * m_instance = NULL

Detailed Description

This is a singleton that spawns a new thread to run each scheduled event.

Definition at line 6 of file ThreadSpawningTimer.h.


Constructor & Destructor Documentation

ThreadSpawningTimer::ThreadSpawningTimer [private]
 

Definition at line 11 of file ThreadSpawningTimer.cpp.

Referenced by instance().

ThreadSpawningTimer::~ThreadSpawningTimer [private]
 

Definition at line 16 of file ThreadSpawningTimer.cpp.


Member Function Documentation

void ThreadSpawningTimer::destroy [static]
 

Definition at line 32 of file ThreadSpawningTimer.cpp.

void ThreadSpawningTimer::doAction TimerNode * timerNode [private, virtual]
 

a Template Method, subclasses must override.

Reimplemented from Timer.

Definition at line 44 of file ThreadSpawningTimer.cpp.

ThreadSpawningTimer * ThreadSpawningTimer::instance [static]
 

Definition at line 22 of file ThreadSpawningTimer.cpp.


Member Data Documentation

pthread_attr_t ThreadSpawningTimer::m_attr [private]
 

Definition at line 17 of file ThreadSpawningTimer.h.

ThreadSpawningTimer * ThreadSpawningTimer::m_instance = NULL [static, private]
 

Definition at line 8 of file ThreadSpawningTimer.cpp.


The documentation for this class was generated from the following files:
Generated at Thu Jul 11 13:31:59 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001