Avoid options listener for resource manager. (#6366)
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>
Thu, 15 Apr 2021 21:05:44 +0000 (23:05 +0200)
committerGitHub <noreply@github.com>
Thu, 15 Apr 2021 21:05:44 +0000 (21:05 +0000)
commit3564c3345d7fa53744661d815cbd463cc02567d7
tree6e3a9b3c2b5194ce519083f0d54e128d24521aa2
parent77bca094a140b35341257f125a55212ff0108250
Avoid options listener for resource manager. (#6366)

This PR simplifies how the resource manager interacts with the options. Instead of using some notification mechanism, the resource manager simply retrieves the options via options::xyz(). This simplifies the options handler, the resource manager interface and the options.
When instructed to do so by the API, the SmtEngine now overwrites the respective option instead of calling out to the resource manager.
src/options/smt_options.toml
src/smt/options_manager.cpp
src/smt/options_manager.h
src/smt/smt_engine.cpp
src/smt/smt_engine.h
src/util/resource_manager.cpp
src/util/resource_manager.h