Skip to main content

AVxcelerate Simulation Framework 2026 R1 SP01

File simulation_completion_checker.h

Last update: 22.04.2026

Location: autonomy/simulation/simulation_completion_checker/simulation_completion_checker.h

Classes

Namespaces

Includes

Source



#ifndef SIMFWK_AUTONOMY_AUTONOMY_SIMULATION_SIMULATIONCOMPLETIONCHECKER_SIMULATIONCOMPLETIONCHECKER_H
#define SIMFWK_AUTONOMY_AUTONOMY_SIMULATION_SIMULATIONCOMPLETIONCHECKER_SIMULATIONCOMPLETIONCHECKER_H

#include "core/time/i_clock/i_clock.h"
#include "core/time/i_simulation_completion_checker/i_simulation_completion_checker.h"

namespace simulation_framework
{

namespace autonomy
{

using namespace core::time;

class SimulationCompletionChecker : public ISimulationCompletionChecker
{
  public:
    SimulationCompletionChecker(std::shared_ptr<core::time::IClock> clock_ptr);

    bool IsSimulationFinished() const;

    std::chrono::milliseconds GetSimulationDuration() const;

  private:
    std::shared_ptr<core::time::IClock> clock_ptr_{};
};

}  // namespace autonomy
}  // namespace simulation_framework

#endif  // SIMFWK_AUTONOMY_AUTONOMY_SIMULATION_SIMULATIONCOMPLETIONCHECKER_SIMULATIONCOMPLETIONCHECKER_H

Connect with Ansys