Skip to main content

AVxcelerate Simulation Framework 2025 R1

cli

Last update: 16.07.2025
1 
5 
6 #pragma once
7 
8 #include "core/service/grpc/cli/i_cli_server.h"
9 #include "core/service/sim_runner/i_sim_runner.h"
10 #include <memory>
11 
16 namespace simulation_framework
17 {
18 namespace core
19 {
20 
26 class Cli
27 {
28  public:
32  Cli(std::unique_ptr<ISimRunner> sim_runner, std::unique_ptr<ISimfwkCliServer> simfwk_cli_server = nullptr);
33 
38  bool Execute();
39 
40  private:
42  std::unique_ptr<ISimRunner> sim_runner_;
43 
45  std::unique_ptr<ISimfwkCliServer> simfwk_cli_server_;
46 };
47 
48 } // namespace core
49 } // namespace simulation_framework

Connect with Ansys