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