![]() |
API Documentation
|
Stores generic settings that impact the behavior of the NDEVR API. More...
#include <DesignSettings.h>
Public Member Functions | |
| DesignSettings () | |
| void | getINI (INIFactory &factory) override |
| bool | getModel (const String &resource, Model &root) const |
| void | setGraphicsSettingsToDefaults () |
| bool | setModel (const String &resource, const Model &model) const |
| void | setModelGetter (const std::function< bool(const String &, Model &root)> &resource_getter) |
| void | setModelSetter (const std::function< bool(const String &, const Model &model)> &resource_setter) |
| void | setStationSettingsToDefaults () |
| void | setUserSettingsToDefaults () |
Public Member Functions inherited from INIInterface | |
| virtual void | finishReadingINI (INIFactory &) |
| INIInterface (const File &default_ini) | |
| virtual void | prepareForINI (INIFactory &) |
| virtual bool | readINIOptions () |
| virtual bool | readINIOptions (File &ini_file) |
| virtual bool | saveINIOptions (bool multithead=false) |
| virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
| void | setDefaultINIFile (const File &file) |
| virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
| virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
| virtual | ~INIInterface () |
Static Public Member Functions | |
| static DesignSettings & | defaultSettings () |
Protected Attributes | |
| std::function< bool(const String &, Model &root)> | m_model_getter |
| std::function< bool(const String &, const Model &model)> | m_model_setter |
Protected Attributes inherited from INIInterface | |
| File | m_default_ini |
Stores generic settings that impact the behavior of the NDEVR API.
| DesignSettings | ( | ) |
|
static |
|
overridevirtual |
Implements INIInterface.
| void setGraphicsSettingsToDefaults | ( | ) |
| void setModelSetter | ( | const std::function< bool(const String &, const Model &model)> & | resource_setter | ) |
| void setStationSettingsToDefaults | ( | ) |
| void setUserSettingsToDefaults | ( | ) |
| Resource<TranslatedString> calibration_back_point_label |
| Resource<TranslatedString> calibration_front_point_label |
| Resource<bool> debug_mode |
| Buffer<SnapLocation> default_camera_locations |
| Resource<bool> maintenance_mode |
| Resource<TranslatedString> pattern_hole_name_format |
| Resource<TranslatedString> row_auto_name_format |
| Resource<TranslatedString> user_title |