Back to index

courier  0.68.2
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
ExitTrap Class Reference

#include <exittrap.h>

Inheritance diagram for ExitTrap:
Inheritance graph
Collaboration diagram for ExitTrap:
Collaboration graph

List of all members.

Public Member Functions

 ExitTrap ()
virtual ~ExitTrap ()

Static Public Member Functions

static void onexit ()
static void onfork ()

Protected Member Functions

void destroying ()
void constructed ()

Private Member Functions

virtual void cleanup ()=0
virtual void forked ()=0

Private Attributes

int callcleanup

Detailed Description

Definition at line 18 of file exittrap.h.

Constructor & Destructor Documentation

virtual ExitTrap::~ExitTrap ( ) [virtual]

Member Function Documentation

virtual void ExitTrap::cleanup ( ) [private, pure virtual]

Implemented in TempFile, DeliverDotLock, and FileLock.

void ExitTrap::constructed ( ) [inline, protected]

Definition at line 26 of file exittrap.h.

{ callcleanup=1; }
void ExitTrap::destroying ( ) [inline, protected]

Definition at line 25 of file exittrap.h.

{ callcleanup=0; }
virtual void ExitTrap::forked ( ) [private, pure virtual]

Implemented in TempFile, and FileLock.

static void ExitTrap::onexit ( ) [static]
static void ExitTrap::onfork ( ) [static]

Member Data Documentation

int ExitTrap::callcleanup [private]

Definition at line 23 of file exittrap.h.

Definition at line 20 of file exittrap.h.

ExitTrap * ExitTrap::prev [private]

Definition at line 20 of file exittrap.h.

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