//$Id$
#ifndef MIF_TASK_H
#define MIF_TASK_H

#include "../Thread_Task.h"

class MIF_Task : public Thread_Task
{
 public:
  MIF_Task (int importance,
            time_t start_time,
            int load,
            int iter,
            int dist,
            char *job_name,
            DT_Creator *dt_creator);

  ~MIF_Task (void);

  virtual int activate_task (RTScheduling::Current_ptr current,
                             CORBA::Policy_ptr sched_param,
                             long flags,
                             ACE_Time_Value* base_time);

  virtual int perform_task (void);

 private:
  void pre_activate (void);
  void post_activate (void);
};

#endif /*MIF_TASK_H*/
