=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / performance-tests / CSD_Strategy / TestInf / AppShutdown.h
blob41baeabb0668bc273c9e40a64852878ac5e77c89
1 #ifndef APP_SHUTDOWN_H
2 #define APP_SHUTDOWN_H
4 #include "CSD_PT_TestInf_Export.h"
5 #include "OrbShutdownTask.h"
6 #include "tao/ORB.h"
8 class CSD_PT_TestInf_Export AppShutdown
10 public:
11 AppShutdown();
12 virtual ~AppShutdown();
14 void init(CORBA::ORB_ptr orb,
15 unsigned num_clients);
17 void wait ();
19 void client_done();
21 static AppShutdown* instance ();
23 private:
24 TAO_SYNCH_MUTEX lock_;
25 CORBA::ORB_var orb_;
26 unsigned num_clients_;
27 unsigned num_clients_shutdown_;
29 OrbShutdownTask orb_shutdown_task_;
33 #define TheAppShutdown AppShutdown::instance()
35 #endif