Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool3 / OrbTask.h
blob52bc5b9c8a58d4ba6f1e0155be26fc6a878e438b
1 //=============================================================================
2 /**
3 * @file OrbTask.h
5 * @author Tim Bradley <bradley_t@ociweb.com>
6 */
7 //=============================================================================
9 #ifndef ORB_TASK_H
10 #define ORB_TASK_H
12 #include "ace/Task.h"
13 #include "tao/ORB.h"
15 class OrbTask : public ACE_Task_Base
17 public:
18 OrbTask(CORBA::ORB_ptr orb, unsigned num_threads = 1);
19 virtual ~OrbTask() = default;
21 virtual int open(void* x = 0);
22 virtual int svc();
23 virtual int close(u_long);
26 private:
27 CORBA::ORB_var orb_;
28 unsigned num_threads_;
31 #endif