summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h')
-rw-r--r--TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h88
1 files changed, 0 insertions, 88 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h b/TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h
deleted file mode 100644
index 51071c0ce3a..00000000000
--- a/TAO/performance-tests/Cubit/TAO/MT_Cubit/Cubit_Task.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests
-//
-// = FILENAME
-// Cubit_Task.h
-//
-// = AUTHOR
-// Andy Gokhale, Sumedh Mungee,Sergio Flores-Gaitan and Nagarajan Surendran.
-//
-// ============================================================================
-
-#ifndef MT_CUBIT_TASK_H
-#define MT_CUBIT_TASK_H
-
-#include "ace/Task.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "ace/ARGV.h"
-#include "tao/TAO.h"
-#include "cubit_i.h"
-#include "Globals.h"
-
-class Cubit_Task : public ACE_Task<ACE_SYNCH>
-{
- // = TITLE
- // Encapsulates an ORB for the Cubit application.
-public:
- Cubit_Task (const char *args,
- const char* orbname,
- u_int num_of_objs,
- ACE_Thread_Manager *thr_mgr,
- u_int task_id);
- // Constructor.
-
- virtual int svc (void);
- // Active Object entry point.
-
- CORBA::String get_servant_ior (u_int index);
- // Gets the ior of the cubit servant in this task.
-
-protected:
- Cubit_Task (void);
- // No-op constructor.
-
-private:
- int initialize_orb (void);
- // Initialize the ORB, and POA.
-
- int create_servants (void);
- // Create the servants.
-
- const char *key_;
- // All cubit objects will have this as prefix to its key.
-
- char *orbname_;
- // Name of the ORB.
-
- char *orbargs_;
- // ORB arguments.
-
- u_int num_of_objs_;
- // Number of objects we're managing.
-
- CORBA::ORB_var orb_;
- // Pointer to the ORB
-
- Cubit_i **servants_;
- // Array to hold the servants.
-
- CORBA::String *servants_iors_;
- // IOR strings of the servants.
-
- u_int task_id_;
- // ID used for naming service object name.
-
- TAO_ORB_Manager orb_manager_;
- // The TAO ORB Manager.
-};
-
-#endif /* MT_CUBIT_TASK_H */