diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/RT_Properties.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/RT_Properties.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/RT_Properties.cpp b/TAO/orbsvcs/orbsvcs/Notify/RT_Properties.cpp index 6a5aff084e8..20131d3e299 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/RT_Properties.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/RT_Properties.cpp @@ -1,5 +1,6 @@ // $Id$ +#include "tao/TAO_Singleton.h" #include "orbsvcs/Notify/RT_Properties.h" #if ! defined (__ACE_INLINE__) @@ -19,4 +20,14 @@ TAO_Notify_RT_Properties::~TAO_Notify_RT_Properties () { } +TAO_Notify_RT_Properties * +TAO_Notify_RT_Properties::instance (void) +{ + // Hide the template instantiation to prevent multiple instances + // from being created. + + return + TAO_Singleton<TAO_Notify_RT_Properties, TAO_SYNCH_MUTEX>::instance (); +} + TAO_END_VERSIONED_NAMESPACE_DECL |