quit_action Class Reference

#include <action.h>

Inheritance diagram for quit_action:

quit_action_history_transaction_abort quit_action_lock quit_action_log quit_action_pager quit_action_undo quit_action_unlink

Public Member Functions

virtual ~quit_action ()
 quit_action ()
 quit_action (const quit_action &)
quit_actionoperator= (const quit_action &)
virtual void operator() (int exit_status)=0

Detailed Description

The quit_action class is used to represent an abstract action to be performed at quit() time.

Definition at line 27 of file action.h.


Constructor & Destructor Documentation

virtual quit_action::~quit_action (  )  [virtual]

The destructor.

quit_action::quit_action (  ) 

The default constructor.

quit_action::quit_action ( const quit_action  ) 

The copy constructor.


Member Function Documentation

quit_action& quit_action::operator= ( const quit_action  ) 

The assignment operator.

virtual void quit_action::operator() ( int  exit_status  )  [pure 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.

Implemented in quit_action_history_transaction_abort, quit_action_lock, quit_action_log, quit_action_pager, quit_action_undo, and quit_action_unlink.


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