Scheduler
|
#include <schedulerConfiguration.h>
Public Member Functions | |
SchedulerConfiguration (std::string filename) | |
virtual FreqGovernor * | getFreqGovernorFromFile () |
virtual std::unique_ptr< SchedulingDiscipline > | getDisciplineFromFile () |
virtual TemperatureModel * | getTemperatureModelFromFile () |
virtual double | getRunningTime () |
virtual std::shared_ptr< Utils::BoundedRandomDistribution > | getDistributionFromFile (Utils::RandomGenerator *gen) |
![]() | |
Configuration (std::string file) | |
virtual | ~Configuration () |
virtual std::string | getStringValue (std::string section, std::string key) |
virtual std::vector< std::string > | getStringList (std::string section, std::string key) |
virtual double | getDoubleValue (std::string section, std::string key) |
virtual unsigned long long int | getUnsignedLongLongIntValue (std::string section, std::string key) |
virtual int | getIntValue (std::string section, std::string key) |
virtual bool | getBoolValue (std::string section, std::string key, bool defaultValue) |
std::string | getFilePrefix () |
returns the name of the configuration file stripped of any directory More... | |
std::string | getName () |
Additional Inherited Members | |
![]() | |
std::string | stripDirectories (std::string) |
![]() | |
static bool | isNewSection (std::string line) |
static bool | isMatchingSection (std::string line, std::string section) |
![]() | |
std::string | filename |
std::ifstream | stream |
Definition at line 30 of file schedulerConfiguration.h.
|
inline |
Definition at line 33 of file schedulerConfiguration.h.
|
virtual |
Reimplemented in RlScheduler::Configuration.
Definition at line 45 of file schedulerConfiguration.cpp.
|
virtual |
Definition at line 83 of file schedulerConfiguration.cpp.
|
virtual |
Reimplemented in MdpGov::MdpGovernorConfiguration.
Definition at line 32 of file schedulerConfiguration.cpp.
|
virtual |
Definition at line 76 of file schedulerConfiguration.cpp.
|
virtual |
Definition at line 65 of file schedulerConfiguration.cpp.