> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# sim_runner.h

```cpp theme={null}
 #pragma once

 #include "core/lifecycle/i_simulation_instance/i_simulation_instance.h"
 #include "core/service/sim_runner/i_sim_runner.h"
 #include <memory>

 namespace simulation_framework
 {
 namespace core
 {

 class SimRunnerImpl;

 class SimRunner final : public ISimRunner
 {
   public:
     ~SimRunner();

     explicit SimRunner(std::unique_ptr<lifecycle::ISimulationInstance> sim_instance);

     StateFeedback Run() override;

     StateFeedback Pause() override;

     StateFeedback Resume() override;

     StateFeedback StepN(int n) override;

     StateFeedback Stop() override;

     StateFeedback Terminate() override;

     SimState GetSimulationState() const;

     uint64_t GetExecutedStepCount() const;

     void RunOverSimulation() override;

   private:
     std::unique_ptr<SimRunnerImpl> impl_;
 };

 }  // namespace core
 }  // namespace simulation_framework
```
