39 const int signalledPid = application->getPid();
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
StopStrategy(ApplicationStopperPtr stopper)
Stop(ApplicationStopperPtr stopper)
Constructor that sets the ApplicationStopper used by this StopStrategy.
ApplicationStopperPtr getStopper()
Returns the stopper used by this StopStrategy.
void stop(Data_Structure::ApplicationInstancePtr application) override
Stops an application.
std::shared_ptr< ApplicationInstance > ApplicationInstancePtr
std::shared_ptr< ApplicationStopper > ApplicationStopperPtr