5 #include "rtschedtestlib_export.h"
7 #include "tao/RTScheduling/RTScheduler.h"
13 class RTSCHEDTESTLIB_Export Thread_Task
: public ACE_Task
<ACE_SYNCH
>
18 virtual int activate_task (RTScheduling::Current_ptr current
,
19 CORBA::Policy_ptr sched_param
,
21 ACE_Time_Value
* base_time
) = 0;
23 virtual int perform_task ();
30 /// Returns the name of the Job exec'ed by this Task.
33 /// Sets the Job to exec.
34 void job (Job_ptr job
);
43 RTScheduling::Current_var current_
;
44 CORBA::Policy_var sched_param_
;
50 DT_Creator
*dt_creator_
;
52 ACE_Time_Value
* base_time_
;
54 CORBA::String_var job_name_
;
56 Task_Stats
*task_stats_
;
59 #endif /* THREAD_TASK_H */