Scheduler
waiting.h
Go to the documentation of this file.
1 
10 #ifndef WAITING_H
11 #define WAITING_H
12 
13 #include <memory>
14 
15 #include "event.h"
16 
17 namespace Scheduler
18 {
19 
20 
22 class Waiting : public Event
23 {
24 public:
25  Waiting(double time, bool renew=false) : Event(time, renew){eventType=wait;};
26  void process() override;
27  std::string getName() override;
28 };
29 
30 }
31 
32 
33 
34 
35 #endif
Waiting(double time, bool renew=false)
Definition: waiting.h:25
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: waiting.cpp:24
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
std::string getName() override
get the name of the event
Definition: waiting.cpp:38
double time
Definition: event.h:58