1. 27 Sep, 2021 1 commit
  2. 14 Sep, 2021 1 commit
  3. 17 Aug, 2021 1 commit
  4. 10 Aug, 2021 1 commit
  5. 09 Aug, 2021 3 commits
  6. 06 Aug, 2021 2 commits
  7. 04 Aug, 2021 2 commits
  8. 03 Aug, 2021 1 commit
  9. 30 Jul, 2021 1 commit
  10. 28 Jul, 2021 1 commit
  11. 16 Jul, 2021 3 commits
  12. 15 Jul, 2021 2 commits
    • Jupp Tscheak's avatar
      Added possibility to register callback function when entity has been created/deleted. · 49e6a3d9
      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's avatarJupp Tscheak <jupp.tscheak@daimler.com>
    • Jupp Tscheak's avatar
      Interface function IEntityRepository::Get is returning an optional reference to query an IEntity. · f1a2e347
      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's avatarJupp Tscheak <jupp.tscheak@daimler.com>
  13. 18 Jun, 2021 1 commit
  14. 26 May, 2021 1 commit
    • Arun Das's avatar
      - rename 'SimulationTime' typedef to 'Time' and rename simulation_time.h to time_utils.h · db325a85
      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's avatarArun Das <arun.das@bmw.de>
  15. 06 Apr, 2021 2 commits
  16. 10 Mar, 2021 2 commits