Scheduler
stopSimulation.h
Go to the documentation of this file.
1 
10 #ifndef STOP_SIMULATION_H
11 #define STOP_SIMULATION_H
12 
13 #include <memory>
14 
15 #include "event.h"
16 
17 namespace Scheduler
18 {
19 
22 class StopSimulation : public Event
23 {
24 public:
25  StopSimulation(double time, bool renew=false) : Event(time, renew){eventType=stop;};
26  void process() override;
27  std::string getName() override;
28 };
29 
30 }
31 
32 #endif
StopSimulation(double time, bool renew=false)
std::string getName() override
get the name of the event
void process() override
handle the the event TODO: &#39;process&#39; is maybe not the best word for that, given that our simulator ac...
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