Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Recyclable Class Reference

#include <Recyclable.h>

Inheritance diagram for ACE_Recyclable:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~ACE_Recyclable (void)
 Destructor. More...

ACE_Recyclable_State recycle_state (void) const
 Get the recyclable bit. More...

void recycle_state (ACE_Recyclable_State new_state)
 Set the recyclable bit. More...


Protected Methods

 ACE_Recyclable (ACE_Recyclable_State initial_state)
 Protected constructor. More...


Protected Attributes

ACE_Recyclable_State recycle_state_
 Our state. More...


Detailed Description

Definition at line 52 of file Recyclable.h.


Constructor & Destructor Documentation

ACE_Recyclable::~ACE_Recyclable void    [virtual]
 

Destructor.

Definition at line 18 of file Recyclable.cpp.

00019 {
00020 }

ACE_Recyclable::ACE_Recyclable ACE_Recyclable_State    initial_state [protected]
 

Protected constructor.

Definition at line 13 of file Recyclable.cpp.

References ACE_Recyclable_State.

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 13 of file Recyclable.inl.

References ACE_RECYCLABLE_CLOSED, ACE_Recyclable_State, and recycle_state_.

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

ACE_INLINE ACE_Recyclable_State ACE_Recyclable::recycle_state void    const
 

Get the recyclable bit.

Definition at line 7 of file Recyclable.inl.

References recycle_state_.

Referenced by ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::cache_i, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::check_hint_i, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::cleanup_hint_i, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::connect_svc_handler_i, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::find, ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::mark_as_closed_i, ACE_Refcounted_Hash_Recyclable::operator==, and ACE_Cached_Connect_Strategy< SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX >::recycle_state_i.

00008 {
00009   return this->recycle_state_;
00010 }


Member Data Documentation

ACE_Recyclable_State ACE_Recyclable::recycle_state_ [protected]
 

Our state.

Definition at line 69 of file Recyclable.h.

Referenced by recycle_state.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:54:58 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002