Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / examples / RTScheduling / MIF_Scheduler / MIF_DT_Creator.h
blobf677b094f9e9eb65d0d34295134d23d7995c4ce7
1 #ifndef MIF_DT_CREATOR_H
2 #define MIF_DT_CREATOR_H
4 #include "../DT_Creator.h"
5 #include "mif_dt_creator_export.h"
7 class MIF_DT_Creator: public DT_Creator
9 public:
10 MIF_DT_Creator (void);
12 virtual CORBA::Policy_ptr sched_param (int importance);
14 //virtual Task* task (void);
15 virtual Thread_Task* create_thr_task (int importance,
16 time_t start_time,
17 int load,
18 int iter,
19 int dist,
20 char *job_name);
22 virtual void yield (time_t suspend_time,
23 Thread_Task* task);
25 virtual void wait (void);
26 virtual int total_load (void);
29 ACE_STATIC_SVC_DECLARE (MIF_DT_Creator)
30 ACE_FACTORY_DECLARE (ACE_Local_Service, MIF_DT_Creator)
32 #endif /*MIF_DT_CREATOR_H*/