Scheduler
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
scheduler
events
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
Scheduler::Event
Definition:
event.h:26
Scheduler::StopSimulation
Definition:
stopSimulation.h:22
Scheduler::StopSimulation::StopSimulation
StopSimulation(double time, bool renew=false)
Definition:
stopSimulation.h:25
Scheduler::StopSimulation::getName
std::string getName() override
get the name of the event
Definition:
stopSimulation.cpp:30
Scheduler::StopSimulation::process
void process() override
handle the the event TODO: 'process' is maybe not the best word for that, given that our simulator ac...
Definition:
stopSimulation.cpp:18
Scheduler::stop
Definition:
eventType.h:17
Scheduler
Definition:
schedulerActions.h:21
Scheduler::Event::renew
bool renew
Definition:
event.h:59
event.h
Scheduler::Event::eventType
TriggeringEvent eventType
The event type is need by the scheduling discipline, to determine if this kind of event triggers invo...
Definition:
event.h:64
Scheduler::Event::time
double time
Definition:
event.h:58
Generated on Sun Nov 26 2017 17:01:36 for Scheduler by
1.8.11