RecoSim  1.0
 All Classes Files Functions Variables Enumerations
task_to_schedule_interface.h
Go to the documentation of this file.
1 
21 #ifndef TASK_TO_SCHEDULE_INTERFACE_H
22 #define TASK_TO_SCHEDULE_INTERFACE_H
23 
24 #include "reconfigurable_zone.h"
25 #include "task_implementation.h"
26 #include "task_priority_comparator_interface.h"
27 
29 
30 public:
31 
37  virtual bool has_implementation(TaskImplementation& impl) const = 0;
38 
45  virtual bool fits(RZ *rz) = 0;
46 
51  virtual string getName(void) const = 0;
52 
57  virtual sc_time get_new_period_start_time(void) const = 0;
58 
63  virtual void set_task_priority(int priority) = 0;
64 
70 
75  virtual bool has_current_implementation(void) = 0;
76 
81  virtual vector<int> getFollowingList(void) const = 0;
82 
87  virtual vector<int> getPrecedingList(void) const = 0;
88 
89 };
90 
91 #endif
virtual void set_task_priority(int priority)=0
Change the task priority.
Definition: task_to_schedule_interface.h:28
virtual string getName(void) const =0
Return module name.
virtual bool has_current_implementation(void)=0
Check if exist a current implementation.
virtual sc_time get_new_period_start_time(void) const =0
Retrieve time of the beginning for next period.
Definition: module_implementation.h:37
Definition: reconfigurable_zone.h:62
virtual ModuleImplementation get_current_implementation(void)=0
Get the current implementation.
virtual vector< int > getPrecedingList(void) const =0
Get a list of tasks preceding this one in the block diagram. If an ID of vector is -1...
virtual vector< int > getFollowingList(void) const =0
Get a list of tasks following this one in the block diagram. If an ID of vector is -1...
virtual bool has_implementation(TaskImplementation &impl) const =0
Check if task has the implementation passed as parameter.
virtual bool fits(RZ *rz)=0
Check if task fits a reconfigurable zone (verifying every hardware implementations defined for the mo...
Definition: task_implementation.h:46
Definition: task_priority_comparator_interface.h:35