    

 ## On this page

  

 

 # simulation\_framework::core::SimfwkCliServer Class Reference

 Last update: 16.07.2025 

class [SimfwkCliServer](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml "class SimfwkCliServer") [More...](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#details)

`#include <<a class="el" href="cli__server_8h_source.xhtml">cli_server.h</a>>`

Inheritance diagram for simulation_framework::core::SimfwkCliServer:

![Inheritance graph](/sites/default/files/migrate-content/avxcelerate_simulation_framework_2025_r1_num1/classsimulation__framework_1_1core_1_1SimfwkCliServer__inherit__graph.png)

\[[legend](graph_legend.xhtml)\]

Collaboration diagram for simulation_framework::core::SimfwkCliServer:

![Collaboration graph](/sites/default/files/migrate-content/avxcelerate_simulation_framework_2025_r1_num1/classsimulation__framework_1_1core_1_1SimfwkCliServer__coll__graph.png)

\[[legend](graph_legend.xhtml)\]

## <a name="pub-methods"></a>Public Member Functions

 [SimfwkCliServer](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#a7d45c7dc24e6751063c9894339912009) (const std::string &amp;server\_address) ctor of grpc cli server [More...](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#a7d45c7dc24e6751063c9894339912009)  
 <a id="a8cd61043746cbaa3ac45453188b51d99"></a> [~SimfwkCliServer](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#a8cd61043746cbaa3ac45453188b51d99) () dtor of grpc cli server   
 <a id="ab9d3d3b02f9601efb7c4c979ffccce06"></a>void [WaitForCommand](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#ab9d3d3b02f9601efb7c4c979ffccce06) () calling this to ensure the server is running and waiting for command to do any action.   
 <a id="a8f16cb74b31d87361ee4da1b5c7ab9da"></a>std::string [GetServerAddress](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#a8f16cb74b31d87361ee4da1b5c7ab9da) () get grpc server address of cli server   
 void [BindSimRunner](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#a2298836e929027f610ee47cc6596616d) (std::unique\_ptr&lt; [simulation\_framework::core::ISimRunner](classsimulation__framework_1_1core_1_1ISimRunner.xhtml) &gt; sim\_runner) set sim runner pointer which to be controlled [More...](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml#a2298836e929027f610ee47cc6596616d)  
 <a id="details" name="details"></a>## Detailed Description

class [SimfwkCliServer](classsimulation__framework_1_1core_1_1SimfwkCliServer.xhtml "class SimfwkCliServer")

simulation framework cli server. The server holds an entity of simulation framework and forward user command to it.



## Constructor &amp; Destructor Documentation

<a id="a7d45c7dc24e6751063c9894339912009"></a>## [◆ ](#a7d45c7dc24e6751063c9894339912009)SimfwkCliServer()

 simulation\_framework::core::SimfwkCliServer::SimfwkCliServer  ( const std::string &amp;  *server\_address*) 

ctor of grpc cli server

Parameters server\_addressgRPC server address 



## Member Function Documentation

<a id="a2298836e929027f610ee47cc6596616d"></a>## [◆ ](#a2298836e929027f610ee47cc6596616d)BindSimRunner()

 void simulation\_framework::core::SimfwkCliServer::BindSimRunner  ( std::unique\_ptr&lt; [simulation\_framework::core::ISimRunner](classsimulation__framework_1_1core_1_1ISimRunner.xhtml) &gt;  *sim\_runner*)   virtual 

set sim runner pointer which to be controlled

Parameters sim\_runnera pointer of simfwk runner. This is the mean entity of simulation framework and being hold by This is the mean entity of simulation framework and being hold by the simfwk cli server. Whatever user command is given by cli, will be passed into the runner and execute the logic Implements [simulation\_framework::core::ISimfwkCliServer](classsimulation__framework_1_1core_1_1ISimfwkCliServer.xhtml).





---

The documentation for this class was generated from the following file:- [cli\_server.h](cli__server_8h_source.xhtml)