Skip to content
Snippets Groups Projects
Commit fac7c323 authored by Andreas Rauschert's avatar Andreas Rauschert
Browse files

Update OSC API (Parser) - to v1.2.1


- updated from alpha release to official release
- new functionality included to check, if an attribute was set in the
scenario (especially to check, if new or deprecated attributes were
used)

Signed-off-by: default avatarAndreas Rauschert <andreas.rb.rauschert@bmw.de>
parent 920a3f6f
No related branches found
No related tags found
2 merge requests!17Draft: Implemented VisibilityAction,!14Update OSC API (Parser) - to v1.2.1
......@@ -16,6 +16,6 @@ EPL 2.0
### OpenSCENARIO API (Parser)
- License: Apache-2.0
- Repository: https://github.com/RA-Consulting-GmbH/openscenario.api.test
- Version: 1.2.0-a.2
- Commit: 6f19e7d9c9756157872850199e797ddac9d5403f
- Version: 1.2.1
- Commit: 94cc39a6caad0418c71aadc6567fa200ded0ac65
......@@ -41,6 +41,14 @@ class FakeByValueCondition : public NET_ASAM_OPENSCENARIO::v1_1::IByValueConditi
std::shared_ptr<NET_ASAM_OPENSCENARIO::v1_1::ITrafficSignalControllerCondition>
GetTrafficSignalControllerCondition() const override;
bool IsSetParameterCondition() const override { return true; }
bool IsSetTimeOfDayCondition() const override { return true; }
bool IsSetSimulationTimeCondition() const override { return true; }
bool IsSetStoryboardElementStateCondition() const override { return true; }
bool IsSetUserDefinedValueCondition() const override { return true; }
bool IsSetTrafficSignalCondition() const override { return true; }
bool IsSetTrafficSignalControllerCondition() const override { return true; }
private:
std::shared_ptr<FakeSimulationTimeCondition> simulation_time_condition_{nullptr};
};
......@@ -68,6 +76,8 @@ class FakeCondition : public NET_ASAM_OPENSCENARIO::v1_1::ICondition
}
std::shared_ptr<NET_ASAM_OPENSCENARIO::v1_1::IByValueCondition> GetByValueCondition() const override;
void SetByValueCondition(const FakeByValueCondition& by_value_condition);
bool IsSetByEntityCondition() const override { return true; }
bool IsSetByValueCondition() const override { return true; }
private:
NET_ASAM_OPENSCENARIO::v1_1::ConditionEdge::ConditionEdgeEnum condition_edge_enum_{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment