Class simulation_framework::core::SimfwkCliServer
Last update: 09.03.2026
Definition: core/service/grpc/cli/cli_server.h (line 27)
class SimfwkCliServer
simulation framework cli server. The server holds an entity of simulation framework and forward user command to it.
Inherits from:
Members
Public functions
Function SimfwkCliServer
simulation_framework::core::SimfwkCliServer::SimfwkCliServer(const std::string &server_address)
ctor of grpc cli server
Parameters:
- server_address: gRPC server address
Parameters:
- const std::string & server_address
Return type:
Function ~SimfwkCliServer
simulation_framework::core::SimfwkCliServer::~SimfwkCliServer()
dtor of grpc cli server
Return type:
Function WaitForCommand
void simulation_framework::core::SimfwkCliServer::WaitForCommand()
calling this to ensure the server is running and waiting for command to do any action.
Return type: void
Reimplements: WaitForCommand
Function GetServerAddress
std::string simulation_framework::core::SimfwkCliServer::GetServerAddress()
get grpc server address of cli server
Return type: std::string
Reimplements: GetServerAddress
Function BindSimRunner
void simulation_framework::core::SimfwkCliServer::BindSimRunner(std::unique_ptr simulation_framework::core::ISimRunner > sim_runner)
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
Parameters:
- std::unique_ptr simulation_framework::core::ISimRunner > sim_runner
Return type: void
Reimplements: BindSimRunner