M1M3 Support System
|
Reads M1M3 support system configuration. More...
#include <SettingReader.h>
Public Member Functions | |
SettingReader (token) | |
void | setRootPath (std::string rootPath) |
Sets root path. | |
std::string | getTablePath (std::string filename) |
std::string | getSettingsVersion () |
std::list< std::string > | getAvailableConfigurations () |
Returns available configurations. | |
void | configure (std::string settingsToApply) |
Select given configuration set. | |
void | load () |
Loads all settings. | |
ForceActuatorApplicationSettings * | getForceActuatorApplicationSettings () |
HardpointActuatorApplicationSettings * | getHardpointActuatorApplicationSettings () |
HardpointMonitorApplicationSettings * | getHardpointMonitorApplicationSettings () |
SafetyControllerSettings * | getSafetyControllerSettings () |
PIDSettings & | getPIDSettings (bool slew) |
Reads M1M3 support system configuration.
Singleton, please use setRootPath to configure configuration root directory.
void SettingReader::configure | ( | std::string | settingsToApply | ) |
Select given configuration set.
runtime_error | if configuration is |
void SettingReader::setRootPath | ( | std::string | rootPath | ) |
Sets root path.
rootPath | new root path |
runtime_error | if directory doesn't exist |