> ## 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.

# File sim_runner.h

![][C++]

**Location**: `core/service/sim_runner/sim_runner.h`

## Classes

* [simulation\_framework::core::SimRunner](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/classsimulation__framework_1_1core_1_1SimRunner.md)

## Namespaces

* [simulation\_framework](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework.md)
* [simulation\_framework::core](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework_1_1core.md)

## Includes

* core/export/simfwk\_core\_export.h
* [core/lifecycle/i\_simulation\_instance/i\_simulation\_instance.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/i__simulation__instance_8h.md)
* [core/service/sim\_runner/i\_sim\_runner.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/i__sim__runner_8h.md)
* \<memory>

## Source

```cpp theme={null}


#ifndef SIMFWK_CORE_SERVICE_SIMRUNNER_SIMRUNNER_H
#define SIMFWK_CORE_SERVICE_SIMRUNNER_SIMRUNNER_H

#include "core/export/simfwk_core_export.h"
#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 SIMFWK_CORE_API 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 override;

    uint64_t GetExecutedStepCount() const override;

    void RunOverSimulation() override;

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

}  // namespace core
}  // namespace simulation_framework

#endif  // SIMFWK_CORE_SERVICE_SIMRUNNER_SIMRUNNER_H
```

[private]: https://img.shields.io/badge/-private-red "private"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[const]: https://img.shields.io/badge/-const-lightblue "const"

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

[protected]: https://img.shields.io/badge/-protected-yellow "protected"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
