3 #include /**/ "ace/pre.h"
6 #include "FP_Scheduler.h"
7 #include "ace/Sched_Params.h"
8 #include "tao/ORB_Core.h"
11 #include "FP_DT_Creator.h"
15 class DT_Test
:public ACE_Task
<ACE_SYNCH
>
20 void check_supported_priorities ();
22 int init (int argc
, ACE_TCHAR
*argv
[]);
24 void run (int argc
, ACE_TCHAR
*argv
[]);
26 void dt_creator (FP_DT_Creator
* dt_creator
);
27 FP_DT_Creator
* dt_creator ();
29 Fixed_Priority_Scheduler
* scheduler ();
33 CORBA::ORB_ptr
orb ();
44 long thr_sched_policy_
;
45 long thr_scope_policy_
;
46 ACE_Sched_Params::Policy sched_policy_
;
50 RTScheduling::Current_var current_
;
51 FP_DT_Creator
* dt_creator_
;
52 PortableServer::Servant_var
<Fixed_Priority_Scheduler
> scheduler_
;
53 RTCORBA::RTORB_var rt_orb_
;
54 /// Reference to the root poa.
55 PortableServer::POA_var root_poa_
;
58 typedef ACE_Singleton
<DT_Test
, TAO_SYNCH_MUTEX
> DT_TEST
;
60 #include /**/ "ace/post.h"