InspIRCd  3.0
Public Member Functions | List of all members
TimerManager Class Reference

#include <timer.h>

Public Member Functions

void TickTimers (time_t TIME)
 
void AddTimer (Timer *T)
 
void DelTimer (Timer *T)
 

Detailed Description

This class manages sets of Timers, and triggers them at their defined times. This will ensure timers are not missed, as well as removing timers that have expired and allowing the addition of new ones.

Member Function Documentation

◆ AddTimer()

void TimerManager::AddTimer ( Timer T)

Add an Timer

Parameters
Tan Timer derived class to add

◆ DelTimer()

void TimerManager::DelTimer ( Timer T)

Remove a Timer

Parameters
Tan Timer derived class to remove

◆ TickTimers()

void TimerManager::TickTimers ( time_t  TIME)

Tick all pending Timers

Parameters
TIMEthe current system time

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