ACE  6.3.3
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ACE_At_Thread_Exit Class Referenceabstract

Contains a method to be applied when a thread is terminated. More...

#include <Thread_Manager.h>

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

Public Member Functions

 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...
 

Protected Member Functions

void do_apply (void)
 Do the apply if necessary. More...
 
virtual void apply (void)=0
 The apply method. More...
 

Protected Attributes

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...
 

Friends

class ACE_Thread_Descriptor
 
class ACE_Thread_Manager
 

Detailed Description

Contains a method to be applied when a thread is terminated.

Constructor & Destructor Documentation

ACE_At_Thread_Exit::ACE_At_Thread_Exit ( void  )
inline

Default constructor.

ACE_At_Thread_Exit::~ACE_At_Thread_Exit ( void  )
virtual

The destructor.

Member Function Documentation

virtual void ACE_At_Thread_Exit::apply ( void  )
protectedpure virtual

The apply method.

Implemented in ACE_At_Thread_Exit_Func.

void ACE_At_Thread_Exit::do_apply ( void  )
inlineprotected

Do the apply if necessary.

bool ACE_At_Thread_Exit::is_owner ( void  ) const
inline

At_Thread_Exit has the ownership?

bool ACE_At_Thread_Exit::is_owner ( bool  owner)
inline

Set the ownership of the At_Thread_Exit.

bool ACE_At_Thread_Exit::was_applied ( void  ) const
inline

This At_Thread_Exit was applied?

bool ACE_At_Thread_Exit::was_applied ( bool  applied)
inline

Set applied state of At_Thread_Exit.

Friends And Related Function Documentation

friend class ACE_Thread_Descriptor
friend
friend class ACE_Thread_Manager
friend

Member Data Documentation

bool ACE_At_Thread_Exit::is_owner_
protected

The at has the ownership of this?

ACE_At_Thread_Exit* ACE_At_Thread_Exit::next_
protected

The next At_Thread_Exit hook in the list.

ACE_Thread_Descriptor* ACE_At_Thread_Exit::td_
protected

The Thread_Descriptor where this at is registered.

bool ACE_At_Thread_Exit::was_applied_
protected

The at was applied?


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