ACE_Recyclable Class Reference

#include <Recyclable.h>

Inheritance diagram for ACE_Recyclable:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ACE_Recyclable (void)
 Destructor.

ACE_Recyclable_State recycle_state (void) const
 Get the recyclable bit.

void recycle_state (ACE_Recyclable_State new_state)
 Set the recyclable bit.


Protected Member Functions

 ACE_Recyclable (ACE_Recyclable_State initial_state)
 Constructor.


Protected Attributes

ACE_Recyclable_State recycle_state_
 Our state.


Constructor & Destructor Documentation

ACE_Recyclable::~ACE_Recyclable void   )  [virtual]
 

Destructor.

Definition at line 18 of file Recyclable.cpp.

00019 {
00020 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Recyclable::ACE_Recyclable ACE_Recyclable_State  initial_state  )  [protected]
 

Constructor.

Definition at line 13 of file Recyclable.cpp.

00014   : recycle_state_ (initial_state)
00015 {
00016 }


Member Function Documentation

ACE_INLINE void ACE_Recyclable::recycle_state ACE_Recyclable_State  new_state  ) 
 

Set the recyclable bit.

Definition at line 14 of file Recyclable.inl.

References ACE_RECYCLABLE_CLOSED, and recycle_state_.

00015 {
00016   if (this->recycle_state_ != ACE_RECYCLABLE_CLOSED)
00017     this->recycle_state_ = new_state;
00018 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Recyclable_State ACE_Recyclable::recycle_state void   )  const
 

Get the recyclable bit.

Definition at line 8 of file Recyclable.inl.

References recycle_state_.

Referenced by ACE_Refcounted_Hash_Recyclable< T >::operator==().

00009 {
00010   return this->recycle_state_;
00011 }


Member Data Documentation

ACE_Recyclable_State ACE_Recyclable::recycle_state_ [protected]
 

Our state.

Definition at line 73 of file Recyclable.h.

Referenced by recycle_state().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:27:50 2006 for ACE by doxygen 1.3.6