Skip to main content

AVxcelerate Simulation Framework 2025 R2 SP02

cli

Last update: 19.09.2025
1
4
5#pragma once
6
7#include "core/service/grpc/cli/i_cli_server.h"
8#include "core/service/sim_runner/i_sim_runner.h"
9#include <memory>
10
16{
17namespace core
18{
19
25class Cli
26{
27 public:
31 Cli(std::unique_ptr<ISimRunner> sim_runner, std::unique_ptr<ISimfwkCliServer> simfwk_cli_server = nullptr);
32
37 bool Execute();
38
39 private:
41 std::unique_ptr<ISimRunner> sim_runner_;
42
44 std::unique_ptr<ISimfwkCliServer> simfwk_cli_server_;
45};
46
47} // namespace core
48} // namespace simulation_framework
Handles the decision to start the simulation framework.
Definition cli.h:26
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