diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /ace/Recyclable.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'ace/Recyclable.h')
-rw-r--r-- | ace/Recyclable.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/ace/Recyclable.h b/ace/Recyclable.h deleted file mode 100644 index 2c3d088cacd..00000000000 --- a/ace/Recyclable.h +++ /dev/null @@ -1,83 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file Recyclable.h - * - * $Id$ - * - * @author Doug Schmidt - */ -//============================================================================= -#ifndef ACE_RECYCLABLE_H -#define ACE_RECYCLABLE_H -#include /**/ "ace/pre.h" - -#include "ace/ACE_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -/// States of a recyclable object. -enum ACE_Recyclable_State -{ - /// Idle and can be purged. - ACE_RECYCLABLE_IDLE_AND_PURGABLE, - - /// Idle but cannot be purged. - ACE_RECYCLABLE_IDLE_BUT_NOT_PURGABLE, - - /// Can be purged, but is not idle (mostly for debugging). - ACE_RECYCLABLE_PURGABLE_BUT_NOT_IDLE, - - /// Busy (i.e., cannot be recycled or purged). - ACE_RECYCLABLE_BUSY, - - /// Closed. - ACE_RECYCLABLE_CLOSED, - - /// Unknown state. - ACE_RECYCLABLE_UNKNOWN -}; - -/** - * @class ACE_Recyclable - * - * @brief - * - * - */ -class ACE_Export ACE_Recyclable -{ -public: - /// Destructor. - virtual ~ACE_Recyclable (void); - - /// Get the recyclable bit - ACE_Recyclable_State recycle_state (void) const; - - /// Set the recyclable bit - void recycle_state (ACE_Recyclable_State new_state); - -protected: - - /// Constructor. - ACE_Recyclable (ACE_Recyclable_State initial_state); - -protected: - - /// Our state. - ACE_Recyclable_State recycle_state_; -}; - -ACE_END_VERSIONED_NAMESPACE_DECL - -#if defined (__ACE_INLINE__) -#include "ace/Recyclable.inl" -#endif /* __ACE_INLINE __ */ - -#include /**/ "ace/post.h" -#endif /*ACE_RECYCLABLE_STATE_H*/ |