Skip to main content

AVxcelerate Simulation Framework 2025 R2

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
17{
18namespace core
19{
20
26class 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
Handles the decision to start the simulation framework.
Definition cli.h:27
bool Execute()
Executes the appropriate function based on the parsed parameters.
Cli(std::unique_ptr< ISimRunner > sim_runner, std::unique_ptr< ISimfwkCliServer > simfwk_cli_server=nullptr)
Constructs the Cli object.
This is the concrete Topic class that can be used for creation of a communication channel with given ...
Definition topic.h:38
The namespace for all core functionalities under namespace simulation_framework.
The top namespace for simulation framework.

Connect with Ansys