Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool2 / OrbShutdownTask.h
blobd0939b46191598a75df74d19ef364ee5cf335a67
1 //=============================================================================
2 /**
3 * @file OrbShutdownTask.h
5 * @author Tim Bradley <bradley_t@ociweb.com>
6 */
7 //=============================================================================
9 #ifndef ORB_SHUTDOWN_TASK_H
10 #define ORB_SHUTDOWN_TASK_H
12 #include "ace/Task.h"
13 #include "tao/ORB.h"
15 class OrbShutdownTask : public ACE_Task_Base
17 public:
18 OrbShutdownTask();
19 virtual ~OrbShutdownTask() = default;
21 void orb(CORBA::ORB_ptr orb);
23 virtual int open(void*);
24 virtual int svc();
25 virtual int close(u_long);
28 private:
29 CORBA::ORB_var orb_;
32 typedef ACE_Singleton<OrbShutdownTask, TAO_SYNCH_MUTEX> TheOrbShutdownTask;
34 #endif