summaryrefslogtreecommitdiff
path: root/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h')
-rw-r--r--performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h74
1 files changed, 36 insertions, 38 deletions
diff --git a/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h b/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
index 692283a8cea..37459496aef 100644
--- a/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
+++ b/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
@@ -1,22 +1,18 @@
-// -*- c++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests/IDL_Cubit
-//
-// = FILENAME
-// Cubit_Server.h
-//
-// = DESCRIPTION
-// This class implements a simple "cube" CORBA server for the Cubit
-// example using skeletons generated by the TAO ORB IDL compiler.
-//
-// = AUTHORS
-// Nagarajan Surendran (naga@cs.wustl.edu)
-//
-// ============================================================================
+
+//=============================================================================
+/**
+ * @file Cubit_Server.h
+ *
+ * $Id$
+ *
+ * This class implements a simple "cube" CORBA server for the Cubit
+ * example using skeletons generated by the TAO ORB IDL compiler.
+ *
+ *
+ * @author Nagarajan Surendran (naga@cs.wustl.edu)
+ */
+//=============================================================================
+
#ifndef _CUBIT_SERVER_H
#define _CUBIT_SERVER_H
@@ -32,52 +28,54 @@
#include "Cubit_Client.h"
#include "Cubit_i.h"
+/**
+ * @class Cubit_Server
+ *
+ * @brief Defines a Cubit Server class that implements the functionality
+ * of a server process as an object.
+ *
+ * The interface is quite simple. A server program has to call
+ * init to initialize the cubit_server's state and then call run
+ * to run the orb.
+ */
class Cubit_Server
{
- // = TITLE
- // Defines a Cubit Server class that implements the functionality
- // of a server process as an object.
- //
- // = DESCRIPTION
- // The interface is quite simple. A server program has to call
- // init to initialize the cubit_server's state and then call run
- // to run the orb.
public:
// = Initialization and termination methods.
+ /// Default constructor
Cubit_Server (void);
- // Default constructor
+ /// Destructor
~Cubit_Server (void);
- // Destructor
+ /// Initialize the Cubit_Server state - parsing arguments and ...
int init (int argc,
ACE_TCHAR **argv);
- // Initialize the Cubit_Server state - parsing arguments and ...
+ /// Run the orb
int run (void);
- // Run the orb
private:
+ /// Parses the commandline arguments.
int parse_args (void);
- // Parses the commandline arguments.
+ /// File to output the cubit factory IOR.
FILE* ior_output_file_;
- // File to output the cubit factory IOR.
+ /// The ORB manager.
TAO_ORB_Manager orb_manager_;
- // The ORB manager.
+ /// Implementation object of the cubit factory.
Cubit_Factory_i *factory_impl_;
- // Implementation object of the cubit factory.
+ /// Id of the factory.
CORBA::String_var factory_id_;
- // Id of the factory.
+ /// Number of commandline arguments.
int argc_;
- // Number of commandline arguments.
+ /// commandline arguments.
ACE_TCHAR **argv_;
- // commandline arguments.
};
#endif /* _CUBIT_SERVER_H */