diff options
Diffstat (limited to 'ace/Active_Map_Manager.h')
-rw-r--r-- | ace/Active_Map_Manager.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/ace/Active_Map_Manager.h b/ace/Active_Map_Manager.h deleted file mode 100644 index b28d45f5ea8..00000000000 --- a/ace/Active_Map_Manager.h +++ /dev/null @@ -1,82 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ace -// -// = FILENAME -// Active_Map_Manager.h -// -// = AUTHOR -// Irfan Pyarali -// -// ============================================================================ - -#ifndef ACE_ACTIVE_MAP_MANAGER_H -#define ACE_ACTIVE_MAP_MANAGER_H - -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -class ACE_Export ACE_Active_Map_Manager_Key -{ - // = TITLE - // Key used in the Active Object Map. - // - // = DESCRIPTION - // This key keeps information of the index and the generation - // count of the slot it represents. Since the index information - // is part of the key, lookups are super fast and predictable, -public: - ACE_Active_Map_Manager_Key (void); - // Default constructor. - - ACE_Active_Map_Manager_Key (u_long index, - u_long generation); - // Constructor given the index and generation number. This is - // useful once the user has somehow recovered the index and - // generation number from the client. - - u_long index (void) const; - // Get the index. - - u_long generation (void) const; - // Get the generation number. - - int operator== (const ACE_Active_Map_Manager_Key &rhs) const; - int operator!= (const ACE_Active_Map_Manager_Key &rhs) const; - // Compare keys. - - // = These really should be protected but because of template - // friends, they are not. - - void index (u_long i); - // Set the index. - - void generation (u_long g); - // Set the generation number. - - void increment_generation_count (void); - // Increment the generation number. - -private: - u_long index_; - // Index in the active map. - - u_long generation_; - // Generation number of <index_> slot in the active map. -}; - -#if defined (__ACE_INLINE__) -#include "ace/Active_Map_Manager.i" -#endif /* __ACE_INLINE__ */ - -// Include the templates here. -#include "ace/Active_Map_Manager_T.h" - -#endif /* ACE_ACTIVE_MAP_MANAGER_H */ |