summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h')
-rw-r--r--trunk/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/trunk/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h b/trunk/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h
new file mode 100644
index 00000000000..553cb27a6d8
--- /dev/null
+++ b/trunk/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h
@@ -0,0 +1,45 @@
+// This may look like C, but it's really -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file Foo_C_cust_op1.h
+ *
+ * $Id$
+ *
+ * @author Tim Bradley <bradley_t@ociweb.com>
+ */
+//=============================================================================
+
+#ifndef FOO_C_CUST_OP1_H
+#define FOO_C_CUST_OP1_H
+
+#include "CSD_TP_Foo_C_Export.h"
+#include "tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.h"
+#include "tao/Intrusive_Ref_Count_Handle_T.h"
+
+class Foo_C_i;
+
+class Foo_C_cust_op1;
+typedef TAO_Intrusive_Ref_Count_Handle<Foo_C_cust_op1> Foo_C_cust_op1_Handle;
+
+
+class CSD_TP_Foo_C_Export Foo_C_cust_op1 : public TAO::CSD::TP_Custom_Request_Operation
+{
+ public:
+
+ Foo_C_cust_op1(Foo_C_i* servant);
+ virtual ~Foo_C_cust_op1();
+
+ void result(ACE_ENV_SINGLE_ARG_DECL);
+
+
+ protected:
+ virtual void execute_i();
+ virtual void cancel_i();
+
+ private:
+ bool cancelled_;
+ Foo_C_i* servant_;
+};
+
+#endif