quit_action_lock Class Reference

#include <lock.h>

Inheritance diagram for quit_action_lock:

quit_action

Public Member Functions

virtual ~quit_action_lock ()
 quit_action_lock ()
void operator() (int exit_status)

Private Member Functions

 quit_action_lock (const quit_action_lock &)
quit_action_lockoperator= (const quit_action_lock &)

Detailed Description

The quit_action_lock class is used to represent the actions which need to be performed to release locks on exit.

Definition at line 29 of file lock.h.


Constructor & Destructor Documentation

virtual quit_action_lock::~quit_action_lock (  )  [virtual]

The destructor.

quit_action_lock::quit_action_lock (  ) 

The default constructor.

quit_action_lock::quit_action_lock ( const quit_action_lock  )  [private]

The copy constructor. Do not use.


Member Function Documentation

void quit_action_lock::operator() ( int  exit_status  )  [virtual]

The operator() method is called just before exit(exit_status) is called. It affords and opportunity to "clean up" before the program exits.

Parameters:
exit_status The imminent exit status of the program.

Implements quit_action.

quit_action_lock& quit_action_lock::operator= ( const quit_action_lock  )  [private]

The assignment operator. Do not use.


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

Generated on Wed Mar 12 23:37:42 2008 for Aegis by  doxygen 1.5.5