Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / examples / RTScheduling / Fixed_Priority_Scheduler / FP_Task.h
blob0a84c498a9cabfb6eace69be4469c921bcff10eb
1 #ifndef FP_TASK_H
2 #define FP_TASK_H
4 #include "../Thread_Task.h"
6 class FP_Task : public Thread_Task
8 public:
9 FP_Task (int importance,
10 time_t start_time,
11 int load,
12 int iter,
13 int dist,
14 char *job_name,
15 DT_Creator *dt_creator);
17 virtual int activate_task (RTScheduling::Current_ptr current,
18 CORBA::Policy_ptr sched_param,
19 long flags,
20 ACE_Time_Value* base_time);
22 virtual int perform_task ();
24 virtual void pre_activate ();
27 #endif /*FP_TASK_H*/