ldas-tools-al  2.6.7
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
LDASTools::AL::TimerThread Class Reference

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

#include <TimerThread.hh>

Inheritance diagram for LDASTools::AL::TimerThread:
Inheritance graph
[legend]
Collaboration diagram for LDASTools::AL::TimerThread:
Collaboration graph
[legend]

Classes

struct  p_type
 

Public Types

typedef INT_4U key_t
 Unique key. More...
 
typedef INT_4U key_t
 Unique key. More...
 
typedef INT_4U key_t
 Unique key. More...
 

Public Member Functions

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

Static Public Member Functions

static TimerThreadInstance ()
 
static TimerThreadInstance ()
 
static TimerThreadInstance ()
 

Private Attributes

std::unique_ptr< p_typep_
 A reference to the private data. More...
 

Detailed Description

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

Member Typedef Documentation

◆ key_t [1/3]

Unique key.

◆ key_t [2/3]

Unique key.

◆ key_t [3/3]

Unique key.

Constructor & Destructor Documentation

◆ TimerThread() [1/3]

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.

◆ ~TimerThread() [1/3]

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

Carefully destroy resources.

◆ TimerThread() [2/3]

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

◆ ~TimerThread() [2/3]

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

◆ TimerThread() [3/3]

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

◆ ~TimerThread() [3/3]

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

Member Function Documentation

◆ AddTimer() [1/3]

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.

◆ AddTimer() [2/3]

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

◆ AddTimer() [3/3]

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

◆ Instance() [1/3]

static TimerThread & LDASTools::AL::Singleton< TimerThread >::Instance ( )
staticinherited

◆ Instance() [2/3]

static TimerThread & LDASTools::AL::Singleton< TimerThread >::Instance ( )
staticinherited

◆ Instance() [3/3]

static TimerThread & LDASTools::AL::Singleton< TimerThread >::Instance ( )
staticinherited

◆ RemoveTimer() [1/3]

bool LDASTools::AL::TimerThread::RemoveTimer ( key_t  Key)

◆ RemoveTimer() [2/3]

bool LDASTools::AL::TimerThread::RemoveTimer ( key_t  Key)

◆ RemoveTimer() [3/3]

bool LDASTools::AL::TimerThread::RemoveTimer ( key_t  Key)

Member Data Documentation

◆ p_

std::unique_ptr< p_type > LDASTools::AL::TimerThread::p_
private

A reference to the private data.


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