Skip to main content

AVxcelerate Simulation Framework 2025 R2 SP02

simulation_framework::core::SimfwkCliServer Class Reference

Last update: 19.09.2025

class 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_addressgRPC server address

Member Function Documentation

◆ BindSimRunner()

void simulation_framework::core::SimfwkCliServer::BindSimRunner ( std::unique_ptr< simulation_framework::core::ISimRunner 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.

◆ GetServerAddress()

std::string simulation_framework::core::SimfwkCliServer::GetServerAddress ( )
virtual

get grpc server address of cli server

Implements simulation_framework::core::ISimfwkCliServer.

◆ WaitForCommand()

void simulation_framework::core::SimfwkCliServer::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:

Connect with Ansys