Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Collocated / Dynamic / Client_Task.h
blobe2771dc35d1b26062e49dd00629cdd6c57ee8ebb
2 #ifndef COLLOCATED_TEST_CLIENT_TASK_H
3 #define COLLOCATED_TEST_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
6 #include "tao/ORB.h"
7 #include "ace/Task.h"
8 #include "testS.h"
10 #if !defined (ACE_LACKS_PRAGMA_ONCE)
11 # pragma once
12 #endif /* ACE_LACKS_PRAGMA_ONCE */
14 /// Implement a Task to run the client as a thread
15 class Client_Task : public ACE_Task_Base
17 public:
18 /// Constructor
19 Client_Task (const ACE_TCHAR *input,
20 CORBA::ORB_ptr corb,
21 ACE_Thread_Manager *thr_mgr);
23 /// Thread entry point
24 int svc ();
26 void run_test (Test_Interceptors::Visual_ptr server);
28 private:
29 const ACE_TCHAR *input_;
31 CORBA::ORB_var corb_;
34 #include /**/ "ace/post.h"
35 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */