64 Commits

Author SHA1 Message Date
f491f1a1ae build(gtest): added gtest as a subproject in case it is not already installed on the system 2025-03-13 14:12:14 -04:00
bc6f86f752 fix(config): loaded flag and checks added
added check to make sure that config file has been loaded before any config variables are accessed
2025-03-03 09:53:42 -05:00
e33a831eb5 test(tests/probe): added probe tests 2025-02-23 11:22:08 -05:00
1099895be2 Merge branch 'main' into feature/logging
Restore deleted config code so that tests can compile correctly
2025-02-21 10:40:39 -05:00
c735fe8b51 fix(config): restored deleted code
I accidently deleted some cacheing mechanisms, these have been restored
2025-02-21 10:39:43 -05:00
bc66af202f build(probe): updated build system to include probe and probe tests 2025-02-21 10:31:57 -05:00
c5513f9404 docs(config): rebuild docs and removed redundant documentation 2025-02-20 09:45:47 -05:00
82d05344fb Merge pull request #15 from tboudreaux/performance/configCache
Added Cache to Config Class
2025-02-20 09:39:27 -05:00
96eb2c35f7 fix(tests/config): fixed unknownKeyTest name
unknownKeyTest was named incorrectly
2025-02-20 09:32:20 -05:00
49be2888df test(tests/config): tests updated to deal with cache 2025-02-20 09:31:03 -05:00
31184647b7 perf(config): added cache
In order to prevent traversing the YAML tree I have added a hash map (O(1) lookup) to cache already accessed config variables. I have also added a vector to store keys requested but not found so we do not need to check for those every time
2025-02-20 09:30:43 -05:00
f1035bd84f test(tests/config): config tests added 2025-02-19 16:12:23 -05:00
4dc7d6cd7f feat(config): config class added
At many points in the code we may want configurable options, the Config class usses a yaml file to make this easy. It also allows for namespace references "opac:lowtemp:file" etc...
2025-02-19 16:11:55 -05:00
74238e0f7d build(yaml-cpp): added yaml-cpp as a dependency
config files will be written in yaml, added a well tested yaml parser to 4DSSE
2025-02-19 14:50:44 -05:00