46 std::cout << std::fixed << std::setfill(
' ') << std::setw(7) << std::setprecision(3)<<
getTime() <<
": ";
49 std::cout <<
" Task"<<std::setfill(
' ') << std::setw(3) <<
task->getPid();
50 if (
task->isRealTime())
52 std::cout <<
":"<<
task->getJobNumber();
std::shared_ptr< Process > task
virtual void print()
print information about the event
Event(double time, bool renew=true)
Event constructor.
TriggeringEvent eventType
The event type is need by the scheduling discipline, to determine if this kind of event triggers invo...
double getTime()
get the time at which the event is scheduled
virtual std::string getName()=0
get the name of the event
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...