RecoSim  1.0
 All Classes Files Functions Variables Enumerations
Public Member Functions | List of all members
SchedulerRequest Class Reference
Inheritance diagram for SchedulerRequest:
Task_to_schedule_interface Task_priority_comparator_interface

Public Member Functions

 SchedulerRequest (Manager_interface *task, int owner)
 
int get_request_owner (void) const
 
sc_time get_deadline_time (void) const
 Get task deadline (as the maximum acceptable time for one task execution) More...
 
sc_time get_task_deadline (void) const
 Get task deadline (absolute time representation) More...
 
sc_time get_task_period (void) const
 Return task period. More...
 
sc_time get_task_offset (void) const
 Return task offset. More...
 
int get_task_priority (void) const
 Return task priority. More...
 
sc_time get_new_period_start_time (void) const
 Retrieve time of the beginning for next period. More...
 
void set_task_priority (int)
 Change the task priority. More...
 
bool has_implementation (TaskImplementation &) const
 Check if task has the implementation passed as parameter. More...
 
bool fits (RZ *rz)
 Check if task fits a reconfigurable zone (verifying every hardware implementations defined for the module) More...
 
string getName (void) const
 Return module name. More...
 
bool has_current_implementation (void)
 Check if exist a current implementation. More...
 
ModuleImplementation get_current_implementation (void)
 Get the current implementation. More...
 
vector< int > getFollowingList (void) const
 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...
 
vector< int > getPrecedingList (void) const
 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...
 

Member Function Documentation

bool SchedulerRequest::fits ( RZ rz)
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

Implements Task_to_schedule_interface.

ModuleImplementation SchedulerRequest::get_current_implementation ( void  )
virtual

Get the current implementation.

Returns
current implementation

Implements Task_to_schedule_interface.

sc_time SchedulerRequest::get_deadline_time ( void  ) const
virtual

Get task deadline (as the maximum acceptable time for one task execution)

Returns
sc_time representation of the task deadline

Implements Task_priority_comparator_interface.

sc_time SchedulerRequest::get_new_period_start_time ( void  ) const
virtual

Retrieve time of the beginning for next period.

Returns
Absolute time of the new period beginning

Implements Task_to_schedule_interface.

sc_time SchedulerRequest::get_task_deadline ( void  ) const
virtual

Get task deadline (absolute time representation)

Returns
sc_time representation of the task deadline (absolute time)

Implements Task_priority_comparator_interface.

sc_time SchedulerRequest::get_task_offset ( void  ) const
virtual

Return task offset.

Returns
Task offset

Implements Task_priority_comparator_interface.

sc_time SchedulerRequest::get_task_period ( void  ) const
virtual

Return task period.

Returns
Task period

Implements Task_priority_comparator_interface.

int SchedulerRequest::get_task_priority ( void  ) const
virtual

Return task priority.

Returns
Taks priority

Implements Task_priority_comparator_interface.

vector< int > SchedulerRequest::getFollowingList ( void  ) const
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

Implements Task_to_schedule_interface.

string SchedulerRequest::getName ( void  ) const
virtual

Return module name.

Returns
string representation of module name

Implements Task_to_schedule_interface.

vector< int > SchedulerRequest::getPrecedingList ( void  ) const
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

Implements Task_to_schedule_interface.

bool SchedulerRequest::has_current_implementation ( void  )
virtual

Check if exist a current implementation.

Returns
true if exist, else false

Implements Task_to_schedule_interface.

bool SchedulerRequest::has_implementation ( TaskImplementation impl) const
virtual

Check if task has the implementation passed as parameter.

Parameters
implImplementation to look for
Returns
true if task has implementation

Implements Task_to_schedule_interface.

void SchedulerRequest::set_task_priority ( int  priority)
virtual

Change the task priority.

Parameters
Newtask priority

Implements Task_to_schedule_interface.


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