00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/ 00009 #include "Transient_Kludge.h" 00010 00011 #include "ace/Singleton.h" 00012 00013 #if !defined (__ACE_INLINE__) 00014 #include "Transient_Kludge.inl" 00015 #endif /* __ACE_INLINE__ */ 00016 00017 OpenDDS::DCPS::Transient_Kludge* 00018 OpenDDS::DCPS::Transient_Kludge::instance() 00019 { 00020 // Hide the template instantiation to prevent multiple instances 00021 // from being created. 00022 00023 return ACE_Singleton<Transient_Kludge, ACE_SYNCH_MUTEX>::instance(); 00024 }