Kill.cpp
Go to the documentation of this file.
1
#include "
Kill.h
"
2
3
using namespace
ScenarioManager
;
4
using namespace
Exec;
5
6
Kill::Kill
(
ApplicationStopperPtr
stopper) :
StopStrategy
(stopper)
7
{
8
9
}
10
11
void
Kill::stop
(
Data_Structure::ApplicationInstancePtr
application)
12
{
13
stopper
->kill(application);
14
application->setStatusWriteBlock(
false
);
15
}
16
17
ApplicationStopperPtr
Kill::getStopper
()
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
ArmarXCore
util
ScenarioManagerCommon
executor
Kill.cpp
Generated on Sat Oct 5 2024 09:13:55 for armarx_documentation by
1.8.17