-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/779 state serialization #780
base: dev/state-persistence
Are you sure you want to change the base?
Feature/779 state serialization #780
Conversation
…or serialization test
…tion # Conflicts: # include/cosim/observer/observer.hpp
@kyllingstad, @restenb the PR is ready for your reviews :) |
* Added an option to file_observer_config to set fixed precision value. * Fixed build failure
I think we need to parse the following
so that users can check if they can export states from the FMUs they are running. I think FMUs not implementing these functions can throw exception or abruptly terminate? |
Not sure what the behavior would be, but it makes sense to include this check in any case. An FMU that does not set these flags should not be possible to use with state saving. |
closes #779
<<
and>>
to (de)seserializecosim::serialization::node
object tostd::o/istream
Addedstate_serilization_test.cpp
which is based onsave_state_test.cpp
for testing.save_state_test.cpp
for testing export and import of states to/from filesprint_ptree
for replacing the previous<<
operator for pretty-printingcosim::serialization::node
.canGetAndSetFMUstate
andcanSerializeFMUstate
cosim capabilities frommodelDescrpition.xml
and store them tocosim::model_description
TODOs