Class for holding a reference to the Config db for the core settings defined in the file "settings.cfg".
More...
#include <ConfigSingleton.h>
Class for holding a reference to the Config db for the core settings defined in the file "settings.cfg".
Definition at line 34 of file ConfigSingleton.h.
◆ Priority
Specifies the ranges of the priority which can be assigned to a singleton at the time of creation.
| Enumerator |
|---|
| HIGHEST_PRIORITY | The highest priority that can be given to a singleton.
|
| LOWEST_PRIORITY | The lowest priority that can be given to a singleton.
|
| DEFAULT_PRIORITY | The default priority given to a singleton.
|
Definition at line 35 of file Singleton.h.
◆ ConfigSingleton()
| agx::ConfigSingleton::ConfigSingleton |
( |
| ) |
|
◆ _shutdown()
| void agx::Singleton::_shutdown |
( |
| ) |
|
|
protectedinherited |
◆ cfg()
| static agxCFG::ConfigScript* agx::ConfigSingleton::cfg |
( |
void |
| ) |
|
|
static |
- Returns
- a pointer to the ConfigScript that contains various user settings found in the default.cfg
◆ getClassName()
| virtual std::string agx::Singleton::getClassName |
( |
| ) |
const |
|
pure virtualinherited |
◆ getDefaultCFG()
| agxCFG::ConfigScript* agx::ConfigSingleton::getDefaultCFG |
( |
| ) |
|
|
protected |
◆ getPriority()
| int agx::Singleton::getPriority |
( |
| ) |
const |
|
inherited |
Return the shutdown priority of the singleton instance.
◆ getSettingsCFG()
| agxCFG::ConfigScript* agx::ConfigSingleton::getSettingsCFG |
( |
| ) |
|
|
protected |
◆ loadDefaultConfiguration()
| static void agx::ConfigSingleton::loadDefaultConfiguration |
( |
| ) |
|
|
static |
◆ settings()
| static agxCFG::ConfigScript* agx::ConfigSingleton::settings |
( |
void |
| ) |
|
|
static |
A ConfigScript db used for various system settings of solver/Simulation/Space etc.
- Returns
- a pointer to the ConfigScript that contains the settings
◆ shutdown()
| void agx::ConfigSingleton::shutdown |
( |
| ) |
|
|
overrideprotectedvirtual |
The documentation for this class was generated from the following file: