RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Public Member Functions | List of all members
Task_to_schedule_interface Class Referenceabstract
Inheritance diagram for Task_to_schedule_interface:
Task_priority_comparator_interface Manager_interface SchedulerRequest Module< Ni, No >

Public Member Functions

virtual bool has_implementation (TaskImplementation &impl) const =0
 Check if task has the implementation passed as parameter. More...
 
virtual bool fits (RZ *rz)=0
 Check if task fits a reconfigurable zone (verifying every hardware implementations defined for the module) More...
 
virtual string getName (void) const =0
 Return module name. More...
 
virtual sc_time get_new_period_start_time (void) const =0
 Retrieve time of the beginning for next period. More...
 
virtual void set_task_priority (int priority)=0
 Change the task priority. More...
 
virtual ModuleImplementation get_current_implementation (void)=0
 Get the current implementation. More...
 
virtual bool has_current_implementation (void)=0
 Check if exist a current implementation. More...
 
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, the following task is a testbench. More...
 
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, the preceding task is a testbench. More...
 
- Public Member Functions inherited from Task_priority_comparator_interface
virtual sc_core::sc_time get_deadline_time (void) const =0
 Get task deadline (as the maximum acceptable time for one task execution) More...
 
virtual sc_core::sc_time get_task_deadline (void) const =0
 Get task deadline (absolute time representation) More...
 
virtual sc_core::sc_time get_task_period (void) const =0
 Return task period. More...
 
virtual sc_core::sc_time get_task_offset (void) const =0
 Return task offset. More...
 
virtual int get_task_priority (void) const =0
 Return task priority. More...
 

Member Function Documentation

virtual bool Task_to_schedule_interface::fits ( RZ rz)
pure virtual

Check if task fits a reconfigurable zone (verifying every hardware implementations defined for the module)

Parameters
rzPointer to the reconfigurable zone to check
Returns
true if module fits the RZ

Implemented in Module< Ni, No >, and SchedulerRequest.

virtual ModuleImplementation Task_to_schedule_interface::get_current_implementation ( void  )
pure virtual

Get the current implementation.

Returns
current implementation

Implemented in Module< Ni, No >, SchedulerRequest, and Manager_interface.

virtual sc_time Task_to_schedule_interface::get_new_period_start_time ( void  ) const
pure virtual

Retrieve time of the beginning for next period.

Returns
Absolute time of the new period beginning

Implemented in Module< Ni, No >, and SchedulerRequest.

virtual vector<int> Task_to_schedule_interface::getFollowingList ( void  ) const
pure virtual

Get a list of tasks following this one in the block diagram. If an ID of vector is -1, the following task is a testbench.

Returns
A vector containing IDs of following tasks

Implemented in Module< Ni, No >, and SchedulerRequest.

virtual string Task_to_schedule_interface::getName ( void  ) const
pure virtual

Return module name.

Returns
string representation of module name

Implemented in Module< Ni, No >, and SchedulerRequest.

virtual vector<int> Task_to_schedule_interface::getPrecedingList ( void  ) const
pure virtual

Get a list of tasks preceding this one in the block diagram. If an ID of vector is -1, the preceding task is a testbench.

Returns
A vector containing IDs of preceding tasks

Implemented in Module< Ni, No >, and SchedulerRequest.

virtual bool Task_to_schedule_interface::has_current_implementation ( void  )
pure virtual

Check if exist a current implementation.

Returns
true if exist, else false

Implemented in Module< Ni, No >, SchedulerRequest, and Manager_interface.

virtual bool Task_to_schedule_interface::has_implementation ( TaskImplementation impl) const
pure virtual

Check if task has the implementation passed as parameter.

Parameters
implImplementation to look for
Returns
true if task has implementation

Implemented in Module< Ni, No >, and SchedulerRequest.

virtual void Task_to_schedule_interface::set_task_priority ( int  priority)
pure virtual

Change the task priority.

Parameters
Newtask priority

Implemented in Module< Ni, No >, and SchedulerRequest.


The documentation for this class was generated from the following file: