ACE 8.0.0
Loading...
Searching...
No Matches
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 ()
 Default constructor.
 
virtual ~ACE_At_Thread_Exit ()
 The destructor.
 
bool is_owner () const
 At_Thread_Exit has the ownership?
 
bool is_owner (bool owner)
 Set the ownership of the At_Thread_Exit.
 
bool was_applied () const
 This At_Thread_Exit was applied?
 
bool was_applied (bool applied)
 Set applied state of At_Thread_Exit.
 

Protected Member Functions

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

Protected Attributes

ACE_At_Thread_Exitnext_
 The next At_Thread_Exit hook in the list.
 
ACE_Thread_Descriptortd_
 The Thread_Descriptor where this at is registered.
 
bool was_applied_
 The at was applied?
 
bool is_owner_
 The at has the ownership of this?
 

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::ACE_At_Thread_Exit ( )
inline

Default constructor.

◆ ~ACE_At_Thread_Exit()

ACE_At_Thread_Exit::~ACE_At_Thread_Exit ( )
virtual

The destructor.

Member Function Documentation

◆ apply()

virtual void ACE_At_Thread_Exit::apply ( )
protectedpure virtual

The apply method.

Implemented in ACE_At_Thread_Exit_Func.

◆ do_apply()

void ACE_At_Thread_Exit::do_apply ( )
inlineprotected

Do the apply if necessary.

◆ is_owner() [1/2]

bool ACE_At_Thread_Exit::is_owner ( ) const
inline

At_Thread_Exit has the ownership?

◆ is_owner() [2/2]

bool ACE_At_Thread_Exit::is_owner ( bool owner)
inline

Set the ownership of the At_Thread_Exit.

◆ was_applied() [1/2]

bool ACE_At_Thread_Exit::was_applied ( ) const
inline

This At_Thread_Exit was applied?

◆ was_applied() [2/2]

bool ACE_At_Thread_Exit::was_applied ( bool applied)
inline

Set applied state of At_Thread_Exit.

Friends And Related Symbol Documentation

◆ ACE_Thread_Descriptor

◆ ACE_Thread_Manager

Member Data Documentation

◆ is_owner_

bool ACE_At_Thread_Exit::is_owner_
protected

The at has the ownership of this?

◆ next_

ACE_At_Thread_Exit* ACE_At_Thread_Exit::next_
protected

The next At_Thread_Exit hook in the list.

◆ td_

ACE_Thread_Descriptor* ACE_At_Thread_Exit::td_
protected

The Thread_Descriptor where this at is registered.

◆ was_applied_

bool ACE_At_Thread_Exit::was_applied_
protected

The at was applied?


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