The anchestor of all ScQt-based simulators The simulator manipulates scModules etc. It does NOT use a bus.
Public Member Functions | |
virtual void | readSettings (void) |
readSettings The main settings reading routine: reads settings from files More... | |
int64_t | SimulationPartTime_Get (void) |
return actual benchmark duration since last reading | |
Protected Attributes | |
scProcessor * | msProcessor |
My topology, I am handling. | |
bool | msStepwiseMode |
If to process stepwise. | |
bool | msSuspended |
If running simulation is suspended. | |
string | simulation_name |
The filename of the config files. | |
|
virtual |
readSettings The main settings reading routine: reads settings from files
<keywordgroup>.ini
at levels Application, User, Project, in this sequence (i.e. a later setting overwrites the previous one)
The list of
<keywordgroup>.ini
files is given as a configuration parameter, as
#define INI_FILES "MainWindow Others"
The settings in the files are given as
<keywordgroup>/<keyword>=<value>
The assumed directory structure:
* |InstallDir * |--/.config/<packagename>V<packageversion>/<keywordgroup>.ini * * |WorkDir * |--/<packagename>V<packageversion>/<keywordgroup>.ini * * |ProjectDir * |--/<packagename>V<packageversion>/<keywordgroup>.ini *
If the expected directory, the
<keywordgroup>.ini
file, or that
<keyword>
does not exist, a warning is issued in the log file. Depending on the actual directory status, duplicated readings are possible.
The different packages may have different settings handling method