ldas-tools-al  2.5.7
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Types | Public Member Functions | List of all members
LDASTools::AL::TimerThread Class Reference

Keep track of threads to be run for a specified time. More...

#include <TimerThread.hh>

Inherits LDASTools::AL::Singleton< T >.

Public Types

typedef INT_4U key_t
 Unique key.
 

Public Member Functions

 TimerThread ()
 
 ~TimerThread ()
 Carefully destroy resources.
 
key_t AddTimer (int Wakeup, SignalHandler::signal_type Signal)
 

Detailed Description

Keep track of threads to be run for a specified time.

Constructor & Destructor Documentation

LDASTools::AL::TimerThread::TimerThread ( )

This class keeps track of multiple timers. The active timers are stored in an ordered list with the one to be executed next being at the head of the list.

Member Function Documentation

TimerThread::key_t LDASTools::AL::TimerThread::AddTimer ( int  Wakeup,
SignalHandler::signal_type  Signal 
)

Add a timer to the list of timers. The list is maintained in assending order.


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