summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2006-06-20 23:20:52 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2006-06-20 23:20:52 +0000
commitac1d794012acd0d4d5fc831b2a25f63abeb833bd (patch)
tree2acd5f1a381e5186b6ba237cf703f52034699f6d /tests
parent62f9f8a17f0fc5f3dbb8c85ce0413b671d653805 (diff)
downloadATCD-ac1d794012acd0d4d5fc831b2a25f63abeb833bd.tar.gz
ChangeLogTag:Tue
Diffstat (limited to 'tests')
-rw-r--r--tests/Framework_Component_DLL.cpp32
1 files changed, 20 insertions, 12 deletions
diff --git a/tests/Framework_Component_DLL.cpp b/tests/Framework_Component_DLL.cpp
index f184a8da593..f8e4e34dbf0 100644
--- a/tests/Framework_Component_DLL.cpp
+++ b/tests/Framework_Component_DLL.cpp
@@ -1,4 +1,23 @@
-// -*- C++ -*-
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// tests
+//
+// = FILENAME
+// Framework_Component_DLL.cpp
+//
+// = DESCRIPTION
+// This is a simple server that can be loaded via the ACE
+// Service Configuration framework and uses the singleton that
+// also lives in this library.
+//
+// = AUTHOR
+// Don Hinton <dhinton@ieee.org>
+//
+// ============================================================================
+
#include "Framework_Component_DLL.h"
#include "ace/Service_Config.h"
#include "ace/Service_Object.h"
@@ -29,9 +48,6 @@ Simple_Service::name (void)
/***************************************************************************/
-/// This is just a simple server that can be loaded via the ACE
-/// Service Configuration framework and uses the singleton that
-/// also lives in this library.
template <int which>
class Server_T : public ACE_Service_Object
{
@@ -64,11 +80,3 @@ typedef Server_T <2> Server_2;
FRAMEWORK_COMPONENT_DLL_SINGLETON_DECLARATION(Server_T<2>;)
ACE_FACTORY_DEFINE (Framework_Component_DLL, Server_2)
-#if defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION)
-
-template ACE_DLL_Singleton_T<FWCT_DLL_Singleton_Adapter_T <Simple_Service>,
- ACE_SYNCH_MUTEX> *
- ACE_DLL_Singleton_T<FWCT_DLL_Singleton_Adapter_T <Simple_Service>,
- ACE_SYNCH_MUTEX>::singleton_;
-
-#endif /* ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION */