Scheduler
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
scheduler
events
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
23
class
NewInteractiveProcess
:
public
NewProcess
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
Scheduler::NewProcess
Definition:
newProcess.h:22
Scheduler::NewInteractiveProcess::getName
std::string getName() override
get the name of the event
Definition:
newInteractiveProcess.cpp:39
Scheduler::NewInteractiveProcess::NewInteractiveProcess
NewInteractiveProcess(double time, bool renew=true)
Definition:
newInteractiveProcess.h:26
Scheduler::NewInteractiveProcess
Definition:
newInteractiveProcess.h:23
newProcess.h
Scheduler
Definition:
schedulerActions.h:21
Scheduler::Event::renew
bool renew
Definition:
event.h:59
event.h
Scheduler::NewInteractiveProcess::process
void process() override
handle the the event TODO: 'process' is maybe not the best word for that, given that our simulator ac...
Definition:
newInteractiveProcess.cpp:25
Scheduler::Event::time
double time
Definition:
event.h:58
Generated on Sun Nov 26 2017 17:01:36 for Scheduler by
1.8.11