Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / examples / RTScheduling / Fixed_Priority_Scheduler / FP_Task.h
blob65912189c78d86670393adf534989b50c7cbf176
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 (void);
24 virtual void pre_activate (void);
28 #endif /*FP_TASK_H*/