summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/IDL_Cubit
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit')
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h7
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h13
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h22
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h6
4 files changed, 29 insertions, 19 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h
index 2afe1be97a5..7229424b1ea 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.h
@@ -18,10 +18,15 @@
//
// ============================================================================
-#if !defined (_CUBIT_CLIENT_H)
+#ifndef _CUBIT_CLIENT_H
#define _CUBIT_CLIENT_H
#include "ace/Get_Opt.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Profile_Timer.h"
#include "tao/corba.h"
#include "cubitC.h"
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
index 2f2e65cb619..361cf838b46 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Server.h
@@ -18,10 +18,15 @@
//
// ============================================================================
-#if !defined (_CUBIT_SERVER_H)
+#ifndef _CUBIT_SERVER_H
#define _CUBIT_SERVER_H
#include "ace/Get_Opt.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Log_Msg.h"
#include "tao/TAO.h"
#include "Cubit_Client.h"
@@ -47,11 +52,11 @@ public:
int init (int argc,
char **argv,
- CORBA::Environment& env);
+ CORBA::Environment& env);
// Initialize the Cubit_Server state - parsing arguments and ...
int run (CORBA::Environment& env);
- // Run the orb
+ // Run the orb
private:
int parse_args (void);
@@ -65,7 +70,7 @@ private:
Cubit_Factory_i *factory_impl_;
// Implementation object of the cubit factory.
-
+
int argc_;
// Number of commandline arguments.
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h
index b4c43ab1e07..318d821af33 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_i.h
@@ -4,17 +4,17 @@
//
// = LIBRARY
// TAO/tests/IDL_Cubit
-//
+//
// = FILENAME
// Cubit_Client.h
//
// = AUTHOR
// Andy Gokhale, Sumedh Mungee and Sergio Flores-Gaitan
-//
+//
// ============================================================================
-#if !defined (_CUBIT_I_H)
-#define _CUBIT_I_H
+#ifndef _CUBIT_I_H
+#define _CUBIT_I_H
#include "cubitS.h"
@@ -64,23 +64,23 @@ public:
// Cube a union.
virtual void cube_long_sequence (const Cubit::long_seq &input,
- Cubit::long_seq_out output,
- CORBA::Environment &env);
+ Cubit::long_seq_out output,
+ CORBA::Environment &env);
// Cube a sequence.
virtual void cube_octet_sequence (const Cubit::octet_seq &input,
- Cubit::octet_seq_out output,
- CORBA::Environment &_env);
+ Cubit::octet_seq_out output,
+ CORBA::Environment &_env);
// Cube an octet sequence.
virtual void cube_many_sequence (const Cubit::many_seq & input,
Cubit::many_seq_out output,
CORBA::Environment &_tao_environment);
// Cube an Many sequence.
-
+
virtual void cube_rti_data (const Cubit::RtiPacket &input,
- Cubit::RtiPacket_out output,
- CORBA::Environment &env);
+ Cubit::RtiPacket_out output,
+ CORBA::Environment &env);
// Cube a sequence.
virtual void shutdown (CORBA::Environment &env);
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h
index 9793c60632b..31b2ca800f0 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/RTI_IO.h
@@ -4,16 +4,16 @@
//
// = LIBRARY
// TAO/tests/IDL_Cubit
-//
+//
// = FILENAME
// RTI_IO.h
//
// = AUTHOR
// Dave Meyer <dmeyer@std.saic.com>
-//
+//
// ============================================================================
-#if !defined (_RTIFUNCS_H)
+#ifndef _RTIFUNCS_H
#define _RTIFUNCS_H
#include "cubitC.h"