Fix the fmu entity design
Right now the design is quite hacky and ugly: I need to return a reference to the CoSimFmu because it is non copyable. I think the root of all evil is the design of the NativeFmu wrapper.
-
Use this project to load the fmu. -
Add a wrapper class that does not keep the fmu_model, the constructor could still load information from a fmu_model(guid, vrs, resourceDir, ...) -
Facade only needed fmu functions so there is no need to access the underlying fmu
Just make sure encapsulation is not violated ;)