open-simulation-platform / libcosim

OSP C++ co-simulation library
https://open-simulation-platform.github.io/libcosim
Mozilla Public License 2.0
55 stars 10 forks source link

file_observer should be programmatically configurable #701

Closed kyllingstad closed 1 year ago

kyllingstad commented 2 years ago

Currently, the behaviour of file_observer can only be modified by passing it the path to a text file that contains the configuration. Those settings should also be available programmatically. Client code should not have to create a temporary file just for the purpose of controlling file_observer.