#include <Cleanup.h>
Collaboration diagram for ACE_OS_Exit_Info:

Public Member Functions | |
| ACE_OS_Exit_Info (void) | |
| Default constructor. | |
| ~ACE_OS_Exit_Info (void) | |
| Destructor. | |
| int | at_exit_i (void *object, ACE_CLEANUP_FUNC cleanup_hook, void *param) |
| Use to register a cleanup hook. | |
| int | find (void *object) |
| void | call_hooks () |
Private Attributes | |
| ACE_Cleanup_Info_Node * | registered_objects_ |
For internal use by the ACE library, only.
| ACE_OS_Exit_Info::ACE_OS_Exit_Info | ( | void | ) |
Default constructor.
| ACE_OS_Exit_Info::~ACE_OS_Exit_Info | ( | void | ) |
Destructor.
| int ACE_OS_Exit_Info::at_exit_i | ( | void * | object, | |
| ACE_CLEANUP_FUNC | cleanup_hook, | |||
| void * | param | |||
| ) |
Use to register a cleanup hook.
| void ACE_OS_Exit_Info::call_hooks | ( | ) |
Call all registered cleanup hooks, in reverse order of registration.
| int ACE_OS_Exit_Info::find | ( | void * | object | ) |
Look for a registered cleanup hook object. Returns 1 if already registered, 0 if not.
Keeps track of all registered objects. The last node is only used to terminate the list (it doesn't contain a valid ACE_Cleanup_Info).
1.4.6-4