diff options
Diffstat (limited to 'TAO/tests/CSD_Strategy_Tests/TP_Foo_C')
8 files changed, 73 insertions, 129 deletions
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_ClientEngine.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_ClientEngine.h index 4e6e3f7d045..245c72fc54a 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_ClientEngine.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_ClientEngine.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_ClientEngine.h @@ -16,23 +14,20 @@ #include "Foo_CC.h" #include "Foo_C_Statistics.h" - class CSD_TP_Foo_C_Export Foo_C_ClientEngine : public ClientEngine { - public: - - Foo_C_ClientEngine(Foo_C_ptr obj, - unsigned client_id); - virtual ~Foo_C_ClientEngine(); - - virtual bool execute(void); +public: + Foo_C_ClientEngine(Foo_C_ptr obj, + unsigned client_id); + virtual ~Foo_C_ClientEngine(); - static void expected_results(Foo_C_Statistics& stats); + virtual bool execute(void); - private: + static void expected_results(Foo_C_Statistics& stats); - Foo_C_var obj_; - unsigned client_id_; +private: + Foo_C_var obj_; + unsigned client_id_; }; #endif diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.h index f3b9d19cb7e..6ef663ec30a 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_ClientEngine.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_Custom_ClientEngine.h @@ -15,26 +13,22 @@ #include "ClientEngine.h" #include "Foo_C_Custom_Proxy.h" - class CSD_TP_Foo_C_Export Foo_C_Custom_ClientEngine : public ClientEngine { - public: - - Foo_C_Custom_ClientEngine(Foo_C_i* servant, - Foo_C_ptr objref, - TAO::CSD::TP_Strategy* strategy, - unsigned client_id); - virtual ~Foo_C_Custom_ClientEngine(); - - virtual bool execute(void); - - static void expected_results(Foo_C_Statistics& stats); +public: + Foo_C_Custom_ClientEngine(Foo_C_i* servant, + Foo_C_ptr objref, + TAO::CSD::TP_Strategy* strategy, + unsigned client_id); + virtual ~Foo_C_Custom_ClientEngine(); + virtual bool execute(void); - private: + static void expected_results(Foo_C_Statistics& stats); - Foo_C_Custom_Proxy proxy_; - unsigned client_id_; +private: + Foo_C_Custom_Proxy proxy_; + unsigned client_id_; }; #endif diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_Proxy.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_Proxy.h index 674e454a4ca..3c82dd0f15a 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_Proxy.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_Custom_Proxy.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_Custom_Proxy.h @@ -16,11 +14,9 @@ #include "Foo_C_i.h" #include "tao/CSD_ThreadPool/CSD_TP_Strategy.h" - class CSD_TP_Foo_C_Export Foo_C_Custom_Proxy { public: - Foo_C_Custom_Proxy(Foo_C_i* servant, Foo_C_ptr objref, TAO::CSD::TP_Strategy* strategy); diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h index a107ad34528..27475bb4a78 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op1.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_cust_op1.h @@ -20,24 +18,21 @@ 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(void); +public: + Foo_C_cust_op1(Foo_C_i* servant); + virtual ~Foo_C_cust_op1(); + void result(void); - protected: - virtual void execute_i(); - virtual void cancel_i(); +protected: + virtual void execute_i(); + virtual void cancel_i(); - private: - bool cancelled_; - Foo_C_i* servant_; +private: + bool cancelled_; + Foo_C_i* servant_; }; #endif diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op2.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op2.h index 25e6cf28f1a..f26caa26e60 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op2.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op2.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_cust_op2.h @@ -20,29 +18,22 @@ class Foo_C_i; class Foo_C_cust_op2; typedef TAO_Intrusive_Ref_Count_Handle<Foo_C_cust_op2> Foo_C_cust_op2_Handle; - class CSD_TP_Foo_C_Export Foo_C_cust_op2 : public TAO::CSD::TP_Custom_Request_Operation { - public: - - Foo_C_cust_op2(Foo_C_i* servant, long arg); - virtual ~Foo_C_cust_op2(); - - void result(void); - - - protected: - - virtual void execute_i(); - virtual void cancel_i(); - +public: + Foo_C_cust_op2(Foo_C_i* servant, long arg); + virtual ~Foo_C_cust_op2(); - private: + void result(void); - long arg_; - bool cancelled_; +protected: + virtual void execute_i(); + virtual void cancel_i(); - Foo_C_i* servant_; +private: + long arg_; + bool cancelled_; + Foo_C_i* servant_; }; #endif diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op3.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op3.h index cd52e184a6a..61a034eb086 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op3.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op3.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_cust_op3.h @@ -20,30 +18,23 @@ class Foo_C_i; class Foo_C_cust_op3; typedef TAO_Intrusive_Ref_Count_Handle<Foo_C_cust_op3> Foo_C_cust_op3_Handle; - class CSD_TP_Foo_C_Export Foo_C_cust_op3 : public TAO::CSD::TP_Custom_Request_Operation { - public: - - Foo_C_cust_op3(Foo_C_i* servant, long arg); - virtual ~Foo_C_cust_op3(); - - long result(void); - - - protected: - - virtual void execute_i(); - virtual void cancel_i(); - +public: + Foo_C_cust_op3(Foo_C_i* servant, long arg); + virtual ~Foo_C_cust_op3(); - private: + long result(void); - long arg_; - long result_; - bool cancelled_; +protected: + virtual void execute_i(); + virtual void cancel_i(); - Foo_C_i* servant_; +private: + long arg_; + long result_; + bool cancelled_; + Foo_C_i* servant_; }; #endif diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.h index 8d5c42757a0..d97852d798e 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_cust_op4.h @@ -20,26 +18,19 @@ class Foo_C_i; class Foo_C_cust_op4; typedef TAO_Intrusive_Ref_Count_Handle<Foo_C_cust_op4> Foo_C_cust_op4_Handle; - class CSD_TP_Foo_C_Export Foo_C_cust_op4 : public TAO::CSD::TP_Custom_Request_Operation { - public: - - Foo_C_cust_op4(Foo_C_i* servant, long arg); - virtual ~Foo_C_cust_op4(); - - - protected: - - virtual void execute_i(); - virtual void cancel_i(); - - - private: +public: + Foo_C_cust_op4(Foo_C_i* servant, long arg); + virtual ~Foo_C_cust_op4(); - long arg_; +protected: + virtual void execute_i(); + virtual void cancel_i(); - Foo_C_i* servant_; +private: + long arg_; + Foo_C_i* servant_; }; #endif diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op5.h b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op5.h index 333fe40d057..8a3c0159bbd 100644 --- a/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op5.h +++ b/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op5.h @@ -1,5 +1,3 @@ -// This may look like C, but it's really -*- C++ -*- - //============================================================================= /** * @file Foo_C_cust_op5.h @@ -20,29 +18,22 @@ class Foo_C_i; class Foo_C_cust_op5; typedef TAO_Intrusive_Ref_Count_Handle<Foo_C_cust_op5> Foo_C_cust_op5_Handle; - class CSD_TP_Foo_C_Export Foo_C_cust_op5 : public TAO::CSD::TP_Custom_Request_Operation { - public: - - Foo_C_cust_op5(Foo_C_i* servant); - virtual ~Foo_C_cust_op5(); - - void result(void); - - - protected: - - virtual void execute_i(); - virtual void cancel_i(); - +public: + Foo_C_cust_op5(Foo_C_i* servant); + virtual ~Foo_C_cust_op5(); - private: + void result(void); - bool exception_; - bool cancelled_; +protected: + virtual void execute_i(); + virtual void cancel_i(); - Foo_C_i* servant_; +private: + bool exception_; + bool cancelled_; + Foo_C_i* servant_; }; #endif |