|
Scheduler
|
#include <timeoutEvent.h>
Public Member Functions | |
| FreqUpdate (double time, bool renew=true) | |
| std::string | getName () |
| get the name of the event More... | |
| std::shared_ptr< TimeOut > | getNextTimeout () override |
| void | doWork () override |
Public Member Functions inherited from Scheduler::TimeOut | |
| TimeOut (double time, bool renew=true) | |
| void | process () override |
| handle the the event TODO: 'process' is maybe not the best word for that, given that our simulator actually manipulated processes More... | |
| double | getInterval () |
| void | setInterval (double inter) |
Public Member Functions inherited from Scheduler::Event | |
| Event (double time, bool renew=true) | |
| Event constructor. More... | |
| void | setTask (std::shared_ptr< Process > task) |
| if the event is specific to a task, set it here. TODO not all events have an associated task. This should be moved More... | |
| double | getTime () |
| get the time at which the event is scheduled More... | |
| virtual | ~Event () |
| virtual void | print () |
| print information about the event More... | |
Additional Inherited Members | |
Protected Attributes inherited from Scheduler::TimeOut | |
| double | interval {2.0} |
Protected Attributes inherited from Scheduler::Event | |
| double | time |
| bool | renew |
| std::shared_ptr< Process > | task {nullptr} |
| TriggeringEvent | eventType {nothing} |
| The event type is need by the scheduling discipline, to determine if this kind of event triggers invokatio of that discipline. More... | |
Definition at line 59 of file timeoutEvent.h.
|
inline |
Definition at line 62 of file timeoutEvent.h.
|
overridevirtual |
Reimplemented from Scheduler::TimeOut.
Definition at line 92 of file timeoutEvent.cpp.
|
virtual |
get the name of the event
Implements Scheduler::Event.
Definition at line 103 of file timeoutEvent.cpp.
|
overridevirtual |
Implements Scheduler::TimeOut.
Definition at line 98 of file timeoutEvent.cpp.
1.8.11