#include <Recyclable.h>
Inheritance diagram for ACE_Recyclable:
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. |
Definition at line 49 of file Recyclable.h.
ACE_Recyclable::~ACE_Recyclable | ( | void | ) | [virtual] |
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 }
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 }
ACE_Recyclable_State ACE_Recyclable::recycle_state_ [protected] |