=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / examples / RTScheduling / MIF_Scheduler / test.h
blobe009c734a6becf70a388eff92c7d3cc18ce948e7
1 #ifndef TEST_H
2 #define TEST_H
4 #include "MIF_Scheduler.h"
5 #include "MIF_DT_Creator.h"
7 #include "ace/Sched_Params.h"
8 #include "tao/ORB_Core.h"
9 #include "ace/Synch.h"
10 #include "ace/Task.h"
12 class Task_Stats;
14 class DT_Test //:public ACE_Task <ACE_SYNCH>
16 public:
17 DT_Test ();
19 int init (int argc, ACE_TCHAR *argv []);
21 void run (int argc, ACE_TCHAR *argv []);
23 void dt_creator (MIF_DT_Creator* dt_creator);
25 MIF_Scheduler* scheduler ();
27 int activate_task ();
30 /* protected: */
31 /* /// task svc */
32 /* virtual int svc (); */
35 private:
36 /// = Policies
37 long thr_sched_policy_;
38 long thr_scope_policy_;
39 ACE_Sched_Params::Policy sched_policy_;
40 CORBA::ORB_var orb_;
41 int max_priority_;
42 int min_priority_;
43 RTScheduling::Current_var current_;
44 MIF_DT_Creator* dt_creator_;
45 PortableServer::Servant_var<MIF_Scheduler> scheduler_;
48 typedef ACE_Singleton <DT_Test, TAO_SYNCH_MUTEX> DT_TEST;
50 #endif /*TEST_H*/