Scheduler
startProc.h
Go to the documentation of this file.
1 
10 #ifndef START_PROC_H
11 #define START_PROC_H
12 
13 #include <memory>
14 
15 #include "event.h"
16 
17 namespace Scheduler
18 {
19 
23 class StartProc : public Event
24 {
25 public:
26  StartProc(double time=0, bool renew=false) : Event(time, renew){eventType=startProc;};
27  void process() override;
28  std::string getName() override;
29 
30 };
31 
32 }
33 
34 #endif
StartProc(double time=0, bool renew=false)
Definition: startProc.h:26
std::string getName() override
get the name of the event
Definition: startProc.cpp:26
void process() override
handle the the event TODO: &#39;process&#39; is maybe not the best word for that, given that our simulator ac...
Definition: startProc.cpp:18
bool renew
Definition: event.h:59
TriggeringEvent eventType
The event type is need by the scheduling discipline, to determine if this kind of event triggers invo...
Definition: event.h:64
double time
Definition: event.h:58