    

 ## On this page

  

 

 # cli

 Last update: 16.07.2025 

<a name="l00001"></a> 1 

<a name="l00005"></a> 5 

<a name="l00006"></a> 6 \#pragma once

<a name="l00007"></a> 7 

<a name="l00008"></a> 8 \#include "core/service/grpc/cli/i\_cli\_server.h"

<a name="l00009"></a> 9 \#include "core/service/sim\_runner/i\_sim\_runner.h"

<a name="l00010"></a> 10 \#include &lt;memory&gt;

<a name="l00011"></a> 11 

<a name="l00016"></a> 16 namespace [simulation\_framework](namespacesimulation__framework.xhtml)

<a name="l00017"></a> 17 {

<a name="l00018"></a> 18 namespace [core](namespacecore.xhtml)

<a name="l00019"></a> 19 {

<a name="l00020"></a> 20 

<a name="l00026"></a>[ 26](classsimulation__framework_1_1core_1_1Cli.xhtml) class [Cli](classsimulation__framework_1_1core_1_1Cli.xhtml)

<a name="l00027"></a> 27 {

<a name="l00028"></a> 28 public:

<a name="l00032"></a> 32 [Cli](classsimulation__framework_1_1core_1_1Cli.xhtml#a807aa80e06431cbd27fe12c4856b668f)(std::unique_ptr&lt;ISimRunner&gt; sim_runner, std::unique_ptr&lt;ISimfwkCliServer&gt; simfwk_cli_server = nullptr);

<a name="l00033"></a> 33 

<a name="l00038"></a> 38 bool [Execute](classsimulation__framework_1_1core_1_1Cli.xhtml#a39259f9147a9151d89d372d4fa9f278f)();

<a name="l00039"></a> 39 

<a name="l00040"></a> 40 private:

<a name="l00042"></a> 42 std::unique_ptr&lt;ISimRunner&gt; sim_runner_;

<a name="l00043"></a> 43 

<a name="l00045"></a> 45 std::unique_ptr&lt;ISimfwkCliServer&gt; simfwk_cli_server_;

<a name="l00046"></a> 46 };

<a name="l00047"></a> 47 

<a name="l00048"></a> 48 } // namespace core

<a name="l00049"></a> 49 } // namespace simulation\_framework