summaryrefslogtreecommitdiff
path: root/tests/POA/Reference_Counted_Servant/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/POA/Reference_Counted_Servant/server.cpp')
-rw-r--r--tests/POA/Reference_Counted_Servant/server.cpp45
1 files changed, 20 insertions, 25 deletions
diff --git a/tests/POA/Reference_Counted_Servant/server.cpp b/tests/POA/Reference_Counted_Servant/server.cpp
index 6203b6bd76d..73ec73fae99 100644
--- a/tests/POA/Reference_Counted_Servant/server.cpp
+++ b/tests/POA/Reference_Counted_Servant/server.cpp
@@ -1,33 +1,28 @@
-// $Id$
-
-// ================================================================
-//
-// = LIBRARY
-// TAO/tests/POA/Reference_Counted_Servant
-//
-// = FILENAME
-// server.cpp
-//
-// = DESCRIPTION
-// This example shows how to use reference counted servants to
-// automatically manage dynamic memory for servants.
-// Stubs/Skeletons and client code is available in
-// ../Generic_Servant.
-//
-// = AUTHOR
-// Irfan Pyarali
-//
-// ================================================================
+
+//=============================================================================
+/**
+ * @file server.cpp
+ *
+ * $Id$
+ *
+ * This example shows how to use reference counted servants to
+ * automatically manage dynamic memory for servants.
+ * Stubs/Skeletons and client code is available in
+ * ../Generic_Servant.
+ *
+ *
+ * @author Irfan Pyarali
+ */
+//=============================================================================
+
#include "ace/Get_Opt.h"
#include "test_i.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_string.h"
-ACE_RCSID(Reference_Counted_Servant, server, "$Id$")
-
- // This is to remove "inherits via dominance" warnings from MSVC.
- // MSVC is being a little too paranoid.
+// This is to remove "inherits via dominance" warnings from MSVC.
+// MSVC is being a little too paranoid.
#if defined (_MSC_VER)
# pragma warning (disable : 4250)
#endif /* _MSC_VER */
@@ -36,9 +31,9 @@ class reference_counted_test_i :
public virtual test_i
{
public:
+ /// Constructor - takes a POA and a value parameter
reference_counted_test_i (CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa);
- // Constructor - takes a POA and a value parameter
};
reference_counted_test_i::reference_counted_test_i (CORBA::ORB_ptr orb,