Back to index

courier  0.68.2
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes
Alarm Class Reference

#include <alarm.h>

Inheritance diagram for Alarm:
Inheritance graph
Collaboration diagram for Alarm:
Collaboration graph

List of all members.

Public Member Functions

 Alarm ()
virtual ~Alarm ()
virtual void handler ()=0
void Set (unsigned)
void Cancel ()

Private Member Functions

void Unlink ()

Static Private Member Functions

static void cancel_sig (unsigned)
static void set_sig ()
static RETSIGTYPE alarm_func (int)
static unsigned sig_left ()

Private Attributes

unsigned set_interval

Static Private Attributes

static Alarmfirst
static Alarmlast

Detailed Description

Definition at line 20 of file alarm.h.

Constructor & Destructor Documentation

Alarm::Alarm ( ) [inline]

Definition at line 34 of file alarm.h.

: next(0), prev(0), set_interval(0)       {}
virtual Alarm::~Alarm ( ) [virtual]

Member Function Documentation

static RETSIGTYPE Alarm::alarm_func ( int  ) [static, private]
void Alarm::Cancel ( )
static void Alarm::cancel_sig ( unsigned  ) [static, private]
virtual void Alarm::handler ( ) [pure virtual]
void Alarm::Set ( unsigned  )

Reimplemented in AlarmTimer.

static void Alarm::set_sig ( ) [static, private]
static unsigned Alarm::sig_left ( ) [static, private]
void Alarm::Unlink ( ) [private]

Member Data Documentation

Alarm* Alarm::first [static, private]

Definition at line 22 of file alarm.h.

Alarm * Alarm::last [static, private]

Definition at line 22 of file alarm.h.

Alarm* Alarm::next [private]

Definition at line 24 of file alarm.h.

Alarm * Alarm::prev [private]

Definition at line 24 of file alarm.h.

unsigned Alarm::set_interval [private]

Definition at line 25 of file alarm.h.

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