From f415005b4a36088a50a20445dba05891a0b719c7 Mon Sep 17 00:00:00 2001 From: irfan Date: Tue, 20 Jul 1999 01:12:26 +0000 Subject: ChangeLogTag:Mon Jul 19 19:46:50 1999 Irfan Pyarali --- ace/Strategies.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'ace/Strategies.h') 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 . + 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 . 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. }; -- cgit v1.2.1