Scheduler
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
scheduler
events
terminates.h
Go to the documentation of this file.
1
10
#ifndef TERMINATES_H
11
#define TERMINATES_H
12
13
#include <memory>
14
15
#include "
event.h
"
16
17
namespace
Scheduler
18
{
19
20
23
class
Terminates
:
public
Event
24
{
25
public
:
26
Terminates
(
double
time
,
bool
renew
=
false
) :
Event
(time,
renew
){
eventType
=
terminate
;};
27
void
process
()
override
;
28
std::string
getName
()
override
;
29
};
30
31
}
32
33
#endif
Scheduler::Event
Definition:
event.h:26
Scheduler::Terminates::Terminates
Terminates(double time, bool renew=false)
Definition:
terminates.h:26
Scheduler::Terminates::getName
std::string getName() override
get the name of the event
Definition:
terminates.cpp:36
Scheduler
Definition:
schedulerActions.h:21
Scheduler::Event::renew
bool renew
Definition:
event.h:59
event.h
Scheduler::terminate
Definition:
eventType.h:16
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::Terminates
Definition:
terminates.h:23
Scheduler::Terminates::process
void process() override
handle the the event TODO: 'process' is maybe not the best word for that, given that our simulator ac...
Definition:
terminates.cpp:24
Scheduler::Event::time
double time
Definition:
event.h:58
Generated on Sun Nov 26 2017 17:01:36 for Scheduler by
1.8.11