diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 01:12:26 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 01:12:26 +0000 |
commit | f415005b4a36088a50a20445dba05891a0b719c7 (patch) | |
tree | 5bfb060afaaed3b9e66ba57fac2818051d8e8c17 /ace/Strategies.h | |
parent | 59829f8f81898f17c2ff669a7ff5a454c0d57707 (diff) | |
download | ATCD-f415005b4a36088a50a20445dba05891a0b719c7.tar.gz |
ChangeLogTag:Mon Jul 19 19:46:50 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'ace/Strategies.h')
-rw-r--r-- | ace/Strategies.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/Strategies.h b/ace/Strategies.h index c43ec639aa2..1574557cf37 100644 --- a/ace/Strategies.h +++ b/ace/Strategies.h @@ -100,9 +100,10 @@ public: virtual int cache (const void *recycling_act) = 0; // Add to cache. - virtual int state (const void *recycling_act, - ACE_Recyclable_State new_state) = 0; - // Change state to <new_state>. + virtual int recycle_state (const void *recycling_act, + ACE_Recyclable_State new_state) = 0; + virtual ACE_Recyclable_State recycle_state (const void *recycling_act) const = 0; + // Get/Set <recycle_state>. virtual int mark_as_closed (const void *recycling_act) = 0; // Mark as closed. @@ -122,14 +123,14 @@ public: // Destructor. // = Set/Get the recyclable bit - ACE_Recyclable_State state (void) const; - void state (ACE_Recyclable_State new_state); + ACE_Recyclable_State recycle_state (void) const; + void recycle_state (ACE_Recyclable_State new_state); protected: ACE_Recyclable (ACE_Recyclable_State initial_state); // Protected constructor. - ACE_Recyclable_State state_; + ACE_Recyclable_State recycle_state_; // Our state. }; |