Scheduler
newInteractiveProcess.h
Go to the documentation of this file.
1 
10 #ifndef NEW_INTERACTIVE_PROCESS_H
11 #define NEW_INTERACTIVE_PROCESS_H
12 
13 #include <memory>
14 
15 #include "event.h"
16 #include "newProcess.h"
17 
18 namespace Scheduler
19 {
20 
24 {
25 public:
26  NewInteractiveProcess(double time, bool renew=true) : NewProcess(time, renew){};
27  void process() override;
28  std::string getName() override;
29 private:
30  double lambda;
31  std::shared_ptr<Process> createTask() override;
32  void scheduleNextEvent() override;
33 };
34 
35 }
36 
37 
38 #endif
std::string getName() override
get the name of the event
NewInteractiveProcess(double time, bool renew=true)
bool renew
Definition: event.h:59
void process() override
handle the the event TODO: &#39;process&#39; is maybe not the best word for that, given that our simulator ac...
double time
Definition: event.h:58