summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/ID_Pool_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/ID_Pool_T.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/ID_Pool_T.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/ID_Pool_T.h b/TAO/orbsvcs/orbsvcs/Notify/ID_Pool_T.h
deleted file mode 100644
index 31d922fb98e..00000000000
--- a/TAO/orbsvcs/orbsvcs/Notify/ID_Pool_T.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-// ==========================================================================
-//
-// = LIBRARY
-// orbsvcs
-//
-// = FILENAME
-// ID_Pool_T.h
-//
-// = DESCRIPTION
-// A class to generate ID's and recycle them.
-//
-// = AUTHOR
-// Pradeep Gore <pradeep@cs.wustl.edu>
-//
-// ==========================================================================
-
-#ifndef ID_POOL_T_H
-#define ID_POOL_T_H
-
-template <class ID_TYPE>
-class ID_Pool
-{
- // = TITLE
- // ID_Pool
- // = DESCRIPTION
- // This class is used by factories that need to associate id's with the
- // objects that they create.When the objects are destroyed, these id's
- // can be reused, hence the need to recycle.
- //
-
- public:
- ID_TYPE get (void);
- // Returns a new or recycled ID
-
- void put (ID_TYPE id);
- // Put an ID back so that it might be recycled.
- private:
- ID_TYPE id_;
-};
-
-#if defined (__ACE_INLINE__)
-#include "ID_Pool_T.i"
-#endif /* __ACE_INLINE__ */
-
-#endif /* ID_POOL_T_H */