Line data Source code
1 : /* 2 : * 3 : * 4 : * Distributed under the OpenDDS License. 5 : * See: http://www.opendds.org/license.html 6 : */ 7 : 8 : #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/ 9 : #include "Transient_Kludge.h" 10 : 11 : #include "ace/Singleton.h" 12 : 13 : #if !defined (__ACE_INLINE__) 14 : #include "Transient_Kludge.inl" 15 : #endif /* __ACE_INLINE__ */ 16 : 17 : OpenDDS::DCPS::Transient_Kludge* 18 0 : OpenDDS::DCPS::Transient_Kludge::instance() 19 : { 20 : // Hide the template instantiation to prevent multiple instances 21 : // from being created. 22 : 23 0 : return ACE_Singleton<Transient_Kludge, ACE_SYNCH_MUTEX>::instance(); 24 : }