Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_1495_Regression / Client_Task.h
blob4bc3ee6cb100a4d8e628a8c1342c2d4f58569d91
1 // -*- C++ -*-
3 /**
4 * @file Client_Task.h
5 * @author Will Otte <wotte@dre.vanderbilt.edu>'
7 * Defines the Client_Task class which acts as the process colocated client
8 * thread for the Bug1492_Regression test.
9 */
12 #ifndef BUG1492_REGRESSION_CLIENT_TASK_H
13 #define BUG1492_REGRESSION_CLIENT_TASK_H
15 #include /**/ "ace/pre.h"
16 #include "ace/Task.h"
18 #include "tao/ORB.h"
20 /// Implements a Task to run the process colocated client ORB.
22 class Client_Task : public ACE_Task_Base
24 public:
25 /// Constructor
26 Client_Task (const ACE_TCHAR *input,
27 CORBA::ORB_ptr corb,
28 ACE_Thread_Manager *thr_mgr);
30 /// Thread entry point.
31 int svc ();
33 private:
34 /// File to read in the remote IOR.
35 const ACE_TCHAR *input_;
37 /// Client ORB.
38 CORBA::ORB_var corb_;
42 #include /**/ "ace/post.h"
43 #endif /* BUG1492_REGRESSION_CLIENT_TASK_H */