simulation_framework::core::SimfwkCliServer Class Reference
Last update: 19.09.2025class SimfwkCliServer More...
#include <cli_server.h>
Inheritance diagram for simulation_framework::core::SimfwkCliServer:

Collaboration diagram for simulation_framework::core::SimfwkCliServer:

Public Member Functions | |
| SimfwkCliServer (const std::string &server_address) | |
| ctor of grpc cli server | |
| ~SimfwkCliServer () | |
| dtor of grpc cli server | |
| void | WaitForCommand () |
| calling this to ensure the server is running and waiting for command to do any action. | |
| std::string | GetServerAddress () |
| get grpc server address of cli server | |
| void | BindSimRunner (std::unique_ptr< simulation_framework::core::ISimRunner > sim_runner) |
| set sim runner pointer which to be controlled | |
Detailed Description
class SimfwkCliServer
simulation framework cli server. The server holds an entity of simulation framework and forward user command to it.
Definition at line 27 of file cli_server.h.
Constructor & Destructor Documentation
◆ SimfwkCliServer()
| simulation_framework::core::SimfwkCliServer::SimfwkCliServer | ( | const std::string & | server_address | ) |
ctor of grpc cli server
- Parameters
-
server_address gRPC server address
Member Function Documentation
◆ BindSimRunner()
|
virtual |
set sim runner pointer which to be controlled
- Parameters
-
sim_runner a 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.
◆ GetServerAddress()
|
virtual |
get grpc server address of cli server
Implements simulation_framework::core::ISimfwkCliServer.
◆ WaitForCommand()
|
virtual |
calling this to ensure the server is running and waiting for command to do any action.
Implements simulation_framework::core::ISimfwkCliServer.
The documentation for this class was generated from the following file: