Kill.cpp
Go to the documentation of this file.
1 #include "Kill.h"
2 
3 using namespace ScenarioManager;
4 using namespace Exec;
5 
7 {
8 
9 }
10 
12 {
13  stopper->kill(application);
14  application->setStatusWriteBlock(false);
15 }
16 
18 {
19  return stopper;
20 }
ScenarioManager::Data_Structure::ApplicationInstancePtr
std::shared_ptr< ApplicationInstance > ApplicationInstancePtr
Definition: ApplicationInstance.h:33
ScenarioManager::Exec::Kill::getStopper
ApplicationStopperPtr getStopper()
Returns the stopper used by this StopStrategy.
Definition: Kill.cpp:17
ScenarioManager::Exec::ApplicationStopperPtr
std::shared_ptr< ApplicationStopper > ApplicationStopperPtr
Definition: ApplicationStopper.h:55
ScenarioManager::Exec::Kill::Kill
Kill(ApplicationStopperPtr stopper)
Constructor that sets the ApplicationStopper used by this StopStrategy.
Definition: Kill.cpp:6
ScenarioManager::Exec::StopStrategy::stopper
ApplicationStopperPtr stopper
Definition: StopStrategy.h:25
ScenarioManager::Exec::Kill::stop
void stop(Data_Structure::ApplicationInstancePtr application)
Stops an application.
Definition: Kill.cpp:11
ScenarioManager
Definition: Application.cpp:166
Kill.h
ScenarioManager::Exec::StopStrategy
Interface for classes that define how an application get stopped.
Definition: StopStrategy.h:22