Skip to main content

AVxcelerate Simulation Framework 2025 R1

simulation_completion_checker

Last update: 16.07.2025
1 
5 
6 #pragma once
7 
8 #include "core/time/i_clock/i_clock.h"
9 #include "core/time/i_simulation_completion_checker/i_simulation_completion_checker.h"
10 
15 namespace simulation_framework
16 {
17 
22 namespace autonomy
23 {
24 
25 using namespace core::time;
26 
36 {
37  public:
42  SimulationCompletionChecker(std::shared_ptr<core::time::IClock> clock_ptr);
43 
48  bool IsSimulationFinished() const;
49 
54  std::chrono::milliseconds GetSimulationDuration() const;
55 
56  private:
59  std::shared_ptr<core::time::IClock> clock_ptr_{};
60 };
61 
62 } // namespace autonomy
63 } // namespace simulation_framework

Connect with Ansys