    

 ## On this page

  

 

 # File simulation\_completion\_checker.h

 Last update: 22.04.2026 

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")

**Location**: `autonomy/simulation/simulation_completion_checker/simulation_completion_checker.h`

## Classes

- [simulation\_framework::autonomy::SimulationCompletionChecker](classsimulation__framework_1_1autonomy_1_1SimulationCompletionChecker.md#classsimulation__framework_1_1autonomy_1_1SimulationCompletionChecker)

## Namespaces

- [simulation\_framework](namespacesimulation__framework.md#namespacesimulation__framework)
- [autonomy](namespaceautonomy.md#namespaceautonomy)
- [simulation\_framework::autonomy](namespacesimulation__framework_1_1autonomy.md#namespacesimulation__framework_1_1autonomy)

## Includes

- [core/time/i\_clock/i\_clock.h](i__clock_8h.md#i__clock_8h)
- [core/time/i\_simulation\_completion\_checker/i\_simulation\_completion\_checker.h](i__simulation__completion__checker_8h.md#i__simulation__completion__checker_8h)

## Source

```cpp


#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

```