ACE_Cleanup_Info Class Reference

Hold cleanup information for thread/process. More...

#include <Cleanup.h>

List of all members.

Public Member Functions

 ACE_Cleanup_Info (void)
 Default constructor.
bool operator== (const ACE_Cleanup_Info &o) const
 Equality operator.
bool operator!= (const ACE_Cleanup_Info &o) const
 Inequality operator.

Public Attributes

void * object_
 Point to object that gets passed into the <cleanup_hook_>.
ACE_CLEANUP_FUNC cleanup_hook_
 Cleanup hook that gets called back.
void * param_
 Parameter passed to the <cleanup_hook_>.


Detailed Description

Hold cleanup information for thread/process.

Definition at line 66 of file Cleanup.h.


Constructor & Destructor Documentation

ACE_Cleanup_Info::ACE_Cleanup_Info ( void   ) 

Default constructor.


Member Function Documentation

bool ACE_Cleanup_Info::operator!= ( const ACE_Cleanup_Info o  )  const

Inequality operator.

Definition at line 54 of file Cleanup.cpp.

00055 {
00056   return !(*this == o);
00057 }

bool ACE_Cleanup_Info::operator== ( const ACE_Cleanup_Info o  )  const

Equality operator.

Definition at line 46 of file Cleanup.cpp.

References cleanup_hook_, object_, and param_.

00047 {
00048   return o.object_ == this->object_
00049     && o.cleanup_hook_ == this->cleanup_hook_
00050     && o.param_ == this->param_;
00051 }


Member Data Documentation

ACE_CLEANUP_FUNC ACE_Cleanup_Info::cleanup_hook_

Cleanup hook that gets called back.

Definition at line 82 of file Cleanup.h.

Referenced by ACE_OS_Exit_Info::at_exit_i(), operator==(), and ACE_Thread_Manager::run_thread_exit_hooks().

void* ACE_Cleanup_Info::object_

Point to object that gets passed into the <cleanup_hook_>.

Definition at line 79 of file Cleanup.h.

Referenced by ACE_OS_Exit_Info::at_exit_i(), operator==(), and ACE_Thread_Manager::run_thread_exit_hooks().

void* ACE_Cleanup_Info::param_

Parameter passed to the <cleanup_hook_>.

Definition at line 85 of file Cleanup.h.

Referenced by ACE_OS_Exit_Info::at_exit_i(), operator==(), and ACE_Thread_Manager::run_thread_exit_hooks().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:34:59 2010 for ACE by  doxygen 1.4.7