10 std::shared_ptr<ScenarioManager::Data_Structure::ApplicationInstance>;
std::shared_ptr< ScenarioManager::Data_Structure::ApplicationInstance > ApplicationInstancePtr
Interface for classes that handle how application get stopped and killed.
void awaitTermination(const Data_Structure::ApplicationInstancePtr &application, int signalledPid)
Waits until the process that was signalled has terminated, then clears the application's pid.
ApplicationStopperPtr stopper
static constexpr std::chrono::milliseconds TerminationTimeout
How long to wait for a signalled process to actually disappear before giving up.
virtual void stop(Data_Structure::ApplicationInstancePtr application)=0
Stops an application.
StopStrategy(ApplicationStopperPtr stopper)
std::shared_ptr< ApplicationInstance > ApplicationInstancePtr
std::shared_ptr< ApplicationStopper > ApplicationStopperPtr
std::shared_ptr< StopStrategy > StopStrategyPtr