ACE  6.4.2
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ACE_At_Thread_Exit_Func Class Reference

#include <Thread_Manager.h>

Inheritance diagram for ACE_At_Thread_Exit_Func:
Inheritance graph
[legend]
Collaboration diagram for ACE_At_Thread_Exit_Func:
Collaboration graph
[legend]

Public Member Functions

 ACE_At_Thread_Exit_Func (void *object, ACE_CLEANUP_FUNC func, void *param=0)
 Constructor. More...
 
virtual ~ACE_At_Thread_Exit_Func (void)
 
- Public Member Functions inherited from ACE_At_Thread_Exit
 ACE_At_Thread_Exit (void)
 Default constructor. More...
 
virtual ~ACE_At_Thread_Exit (void)
 The destructor. More...
 
bool is_owner (void) const
 At_Thread_Exit has the ownership? More...
 
bool is_owner (bool owner)
 Set the ownership of the At_Thread_Exit. More...
 
bool was_applied (void) const
 This At_Thread_Exit was applied? More...
 
bool was_applied (bool applied)
 Set applied state of At_Thread_Exit. More...
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 

Protected Member Functions

void apply (void)
 The apply method. More...
 
- Protected Member Functions inherited from ACE_At_Thread_Exit
void do_apply (void)
 Do the apply if necessary. More...
 

Protected Attributes

void * object_
 The object to be cleanup. More...
 
ACE_CLEANUP_FUNC func_
 The cleanup func. More...
 
void * param_
 A param if required. More...
 
- Protected Attributes inherited from ACE_At_Thread_Exit
ACE_At_Thread_Exitnext_
 The next At_Thread_Exit hook in the list. More...
 
ACE_Thread_Descriptortd_
 The Thread_Descriptor where this at is registered. More...
 
bool was_applied_
 The at was applied? More...
 
bool is_owner_
 The at has the ownership of this? More...
 

Constructor & Destructor Documentation

ACE_At_Thread_Exit_Func::ACE_At_Thread_Exit_Func ( void *  object,
ACE_CLEANUP_FUNC  func,
void *  param = 0 
)
inline

Constructor.

ACE_At_Thread_Exit_Func::~ACE_At_Thread_Exit_Func ( void  )
virtual

Member Function Documentation

void ACE_At_Thread_Exit_Func::apply ( void  )
protectedvirtual

The apply method.

Implements ACE_At_Thread_Exit.

Member Data Documentation

ACE_At_Thread_Exit_Func::ACE_ALLOC_HOOK_DECLARE
ACE_CLEANUP_FUNC ACE_At_Thread_Exit_Func::func_
protected

The cleanup func.

void* ACE_At_Thread_Exit_Func::object_
protected

The object to be cleanup.

void* ACE_At_Thread_Exit_Func::param_
protected

A param if required.


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