iml130 / sola

A decentralized communication middleware
https://iml130.github.io/sola/
Other
8 stars 5 forks source link

Parse scenariofile in constructor and adding helper function to deserialize std::variant-like types. #100

Closed ltoenning closed 1 year ago

ltoenning commented 1 year ago

Proposed Changes

For simplification and to avoid the use of wrong data from the scenariofile parser: Directly parse the scenariofile in the constructor.

This PR also adds a function to deserialize YAML entries into std::variant-like types. This will be used in the future for a type-safe list of all different scenario sequence steps.

Definition of Done (optional)