summaryrefslogtreecommitdiff
path: root/TAO/tests/Xt_Stopwatch/Client.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:21 +0000
commit3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (patch)
tree197c810e5f5bce17b1233a7cb8d7b50c0bcd25e2 /TAO/tests/Xt_Stopwatch/Client.h
parent6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (diff)
downloadATCD-3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tests/Xt_Stopwatch/Client.h')
-rw-r--r--TAO/tests/Xt_Stopwatch/Client.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/TAO/tests/Xt_Stopwatch/Client.h b/TAO/tests/Xt_Stopwatch/Client.h
new file mode 100644
index 00000000000..978e0f3c3b1
--- /dev/null
+++ b/TAO/tests/Xt_Stopwatch/Client.h
@@ -0,0 +1,61 @@
+// $Id$
+
+// ============================================================================
+//
+// = LIBRARY
+// TAO/tests/Xt_Stopwatch/Stopwatch_client
+//
+// = FILENAME
+// Client.h
+//
+// = AUTHOR
+// Balachandran Natarajan <bala@cs.wustl.edu>
+//
+// ============================================================================
+
+#ifndef CLIENT_H
+#define CLIENT_H
+
+#include "testC.h"
+
+
+#include "tao/XtResource_Loader.h"
+class Control;
+
+class Client
+{
+public:
+
+ Client (CORBA::ORB_ptr orb);
+ // ctor
+
+ ~Client (void);
+ //Dtor..
+
+ static void start_callback (Widget w,
+ XtPointer client_data,
+ XtPointer call_data);
+ static void stop_callback (Widget w,
+ XtPointer client_data,
+ XtPointer call_data);
+ // The callbacks
+
+ void start_hook (void);
+ void stop_hook (void);
+ // The hooks...
+
+ void add_callback (Control &);
+ // Adds the callbacks to the GUI underneath.....
+
+ void parse_args (int argc, char *argv[]
+ ACE_ENV_ARG_DECL);
+private:
+
+ CORBA::ORB_var orb_;
+ // The ORB
+
+ Stopwatch_var server_;
+ // The server.
+};
+
+#endif /* CLIENT_H */