- Aug 10, 2021
-
-
Jupp Tscheak authored
Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
- Jul 15, 2021
-
-
Jupp Tscheak authored
If scenario domain entities are having references to the same IEntity, it might be that another instance is deleting this IEntity invalidating all references pointing to it. Those situations could be handled using the callback mechanism. Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
Jupp Tscheak authored
In order to check whether an IEntity with a certain name/id exists, function IEntityRepository::Contains could be used to query this information. If IEntityRepository::Get is called on a non-existing name/id, the function would throw, so for defensive programming reasons a IEntityRepository::Contains should always be done before actually calling IEntityRepository::Get. The good thing about plain old C-pointers is that assignment and existence check can be done in one call. Since C++17 the same functionality is managed by std::optional. Another disadvantage of using a plain reference to IEntity is when it is used as a class member, where it needs to be initialized when an object of that class is defined. It might be that during construction time this IEntity is not known/existing yet. Of cource, a plain old C-pointer could be used in this case, but it wouldn't be a consistant usage. The proposal is to use std::optional<std::reference_wrapper<IEntity>> as return value for IEntityRepository::Get. Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
- Jul 08, 2021
-
-
René Paris authored
Initial provision of build automation using CMake. See merge request eclipse/simopenpass/scenario_api!5
-
Jupp Tscheak authored
Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
Jupp Tscheak authored
Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
Jupp Tscheak authored
This might cause problems when building on Windows platforms. Fixed. Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
- Jul 07, 2021
-
-
Jupp Tscheak authored
The CMake build scripts support build automation, testing, packaging and installation of the ScenarioAPI. Signed-off-by:
Jupp Tscheak <jupp.tscheak@daimler.com>
-
- Jun 18, 2021
-
-
René Paris authored
Update and check control strategies for entity and not for controller; * and / operator for vectors See merge request eclipse/simopenpass/scenario_api!4
-
Arun Das authored
Signed-off-by:
Arun Das <arun.das@bmw.de>
-
- May 26, 2021
-
-
Reinhard Biegel authored
Update API See merge request eclipse/simopenpass/scenario_api!3
-
Arun Das authored
- add new SimulationTime struct containing the current_sim_time and the last_delta_time - Add 'SimulationTime GetSimulationTime()' to IEnvironment for fixing SimulationTimeCondition - Add 'HasControlStrategyGoalBeenReached' to IEnvironment to check with the controller, if an action can be set to 'completed' state - Add ControlStrategyType to avoid dynamic_cast - followed C++ guideline for enum values with leading k... - cleaned up deprecated controller configs Signed-off-by:
Arun Das <arun.das@bmw.de>
-
https://gitlab.eclipse.org/eclipse/simopenpass/scenario_apiArun Das authored
Signed-off-by:
Arun Das <arun.das@bmw.de>
-
- Apr 06, 2021
-
-
Reinhard Biegel authored
Update interface See merge request eclipse/simopenpass/scenario_api!2
-
Arun Das authored
Signed-off-by:
Arun Das <arun.das@bmw.de>
-
Arun Das authored
-
Arun Das authored
-
- Mar 10, 2021
-
-
Reinhard Biegel authored
Initial See merge request eclipse/simopenpass/scenario_api!1
-
Arun Das authored
Signed-off-by:
Arun Das <arun.das@bmw.de>
-
Arun Das authored
Signed-off-by:
Arun Das <arun.das@bmw.de>
-
Reinhard Biegel authored
-