//MIF_Task.h,v 1.2 2003/07/24 07:10:39 yamuna Exp
#ifndef MIF_TASK_H
#define MIF_TASK_H

#include "../Thread_Task.h"

class MIF_Task : public Thread_Task
{
 public:
  MIF_Task (int importance,
	    int 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
			     ACE_ENV_ARG_DECL_WITH_DEFAULTS);

  virtual int perform_task (void);
  
 private:
  void pre_activate (void);
  void post_activate (void);
};

#endif /*MIF_TASK_H*/
