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

# i_sim_runner.h

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

#include <string>

namespace simulation_framework
{
namespace core
{

struct StateFeedback
{
 bool execute_status;

    std::string error_msg;
};

enum class SimState
{
    kInitialized,
    kRunning,
    kPaused,
    kFinished,
    kTerminated,
    kError
};

class ISimRunner
{
 public:
 virtual ~ISimRunner() = default;

 virtual StateFeedback Run() = 0;

 virtual StateFeedback Pause() = 0;

 virtual StateFeedback Resume() = 0;

 virtual StateFeedback StepN(int n) = 0;

 virtual StateFeedback Stop() = 0;

 virtual StateFeedback Terminate() = 0;

 virtual SimState GetSimulationState() const = 0;

 virtual uint64_t GetExecutedStepCount() const = 0;

 virtual void RunOverSimulation() = 0;
};

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