Use nullptr
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool4 / OrbShutdownTask.h
blob704d3b37e0ce1971d5db2f0e0bf061102cd996cb
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);
27 private:
28 CORBA::ORB_var orb_;
31 typedef ACE_Singleton<OrbShutdownTask, TAO_SYNCH_MUTEX> TheOrbShutdownTask;
33 #endif