summaryrefslogtreecommitdiff
path: root/ace/Dynamic.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Dynamic.h')
-rw-r--r--ace/Dynamic.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/ace/Dynamic.h b/ace/Dynamic.h
deleted file mode 100644
index 90e4b426882..00000000000
--- a/ace/Dynamic.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-
-// ============================================================================
-//
-// = LIBRARY
-// ace
-//
-// = FILENAME
-// Dynamic.h
-//
-// = AUTHOR
-// Doug Schmidt and Irfan Pyrarli.
-//
-// ============================================================================
-
-#if !defined (ACE_DYNAMIC_H)
-#define ACE_DYNAMIC_H
-
-#include "ace/ACE.h"
-
-class ACE_Export ACE_Dynamic
-{
- // = TITLE
- // Checks to see if an object was dynamically allocated.
- //
- // = DESCRIPTION
- // This class holds the pointer in a thread-safe manner between
- // the call to operator new and the call to the constructor.
-public:
- ACE_Dynamic (void);
-
- void set (void);
- // Sets a flag that indicates that the object was dynamically
- // created. This method is usually called in operator new and then
- // checked and reset in the constructor.
-
- int is_dynamic (void);
- // 1 if we were allocated dynamically, else 0.
-
- void reset (void);
- // Resets state flag.
-
-private:
- int is_dynamic_;
- // Flag that indicates that the object was dynamically created. This
- // method is usually called in operator new and then checked and
- // reset in the constructor.
-};
-
-#if defined (__ACE_INLINE__)
-#include "ace/Dynamic.i"
-#endif /* __ACE_INLINE__ */
-
-#endif /* ACE_DYNAMIC_H */