diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-21 19:26:46 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-21 19:26:46 +0000 |
commit | 9e9254f32711d4ecf1e3f71b54982eaf6845388e (patch) | |
tree | 760551d54bece3e52d2f1cd3d05b26d9c1c1439b /ace/Singleton.h | |
parent | 4ecd5d0edb663fdba4935912ccdbbf79a66482ae (diff) | |
download | ATCD-9e9254f32711d4ecf1e3f71b54982eaf6845388e.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Singleton.h')
-rw-r--r-- | ace/Singleton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Singleton.h b/ace/Singleton.h index 55ceb31f2d2..f8bfa8ef8de 100644 --- a/ace/Singleton.h +++ b/ace/Singleton.h @@ -24,6 +24,7 @@ template <class TYPE, class ACE_LOCK> class ACE_Singleton : public ACE_Cleanup +{ // = TITLE // A Singleton Adapter the uses the Adapter pattern to turn // ordinary classes into Singletons optimized with the @@ -51,7 +52,6 @@ class ACE_Singleton : public ACE_Cleanup // and ACE_Null_Mutex instances are used for all ACE_Singleton // instantiations. However, other types of locks are allocated // per ACE_Singleton instantiation. -{ public: static TYPE *instance (void); // Global access point to the Singleton. @@ -81,6 +81,7 @@ protected: template <class TYPE, class ACE_LOCK> class ACE_TSS_Singleton : public ACE_Cleanup +{ // = TITLE // This class uses the Adapter pattern to turn ordinary classes // into Thread-specific Singletons optimized with the @@ -97,7 +98,6 @@ class ACE_TSS_Singleton : public ACE_Cleanup // scheme to work, a (static) <cleanup> function must be // provided. <ACE_Singleton> provides one so that TYPE doesn't // need to. -{ public: static TYPE *instance (void); // Global access point to the Singleton. |