diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-26 17:57:11 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-08-26 17:57:11 +0000 |
commit | e4d001cb1043a7d4beec0de2eb4dc528f506a711 (patch) | |
tree | 967f2b4a09e6abd8554884cf491f27fee2b272ef /ace/Singleton.h | |
parent | 017f8f4206675b4a8f3978a82f87dcca65e8abc1 (diff) | |
download | ATCD-e4d001cb1043a7d4beec0de2eb4dc528f506a711.tar.gz |
register all ACE_Singletons for cleanup with the ACE_Object_Manager
Diffstat (limited to 'ace/Singleton.h')
-rw-r--r-- | ace/Singleton.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/Singleton.h b/ace/Singleton.h index 0c4a322735d..5c4510d2922 100644 --- a/ace/Singleton.h +++ b/ace/Singleton.h @@ -37,6 +37,9 @@ public: static TYPE *instance (TYPE*); // Set the Singleton instance. + static void cleanup (void *object, void *); + // Cleanup method, used by ACE_Object_Manager to destroy the singleton. + static void dump (void); // Dump the state of the object. @@ -69,6 +72,9 @@ public: static TYPE *instance (void); // Global access point to the Singleton. + static void cleanup (void *object, void *); + // Cleanup method, used by ACE_Object_Manager to destroy the singleton. + static void dump (void); // Dump the state of the object. |