Scheduler
edfDiscipline.h
Go to the documentation of this file.
1 
10 #ifndef EDFDISCIPLINE_H
11 #define EDFDISCIPLINE_H
12 
13 #include <string>
14 
15 #include "priorityDiscipline.h"
16 
17 namespace Scheduler
18 {
19 
21 {
22 public:
23  EdfDiscipline(std::shared_ptr<SchedulerConfiguration> c) : PriorityDiscipline(c){};
25  static constexpr const char *configKey = "edfDiscipline";
26 protected:
27  virtual std::string getName();
29 };
30 
31 }
32 #endif
EdfDiscipline(std::shared_ptr< SchedulerConfiguration > c)
Definition: edfDiscipline.h:23
static constexpr const char * configKey
Definition: edfDiscipline.h:25
virtual std::string getName()
returns the name of that discipline
PriorityDiscipline::ComparatorPointer getComparator() override
return a function pointer to a function that provides comparison of tasks&#39; priorities ...
bool(* ComparatorPointer)(std::shared_ptr< Process >, std::shared_ptr< Process >)