Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / examples / RTScheduling / MIF_Scheduler / MIF_Task.h
blob5acb89959537334528f6d92d97ee101853b1b192
1 #ifndef MIF_TASK_H
2 #define MIF_TASK_H
4 #include "../Thread_Task.h"
6 class MIF_Task : public Thread_Task
8 public:
9 MIF_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 ~MIF_Task (void);
19 virtual int activate_task (RTScheduling::Current_ptr current,
20 CORBA::Policy_ptr sched_param,
21 long flags,
22 ACE_Time_Value* base_time);
24 virtual int perform_task (void);
26 private:
27 void pre_activate (void);
28 void post_activate (void);
31 #endif /*MIF_TASK_H*/