|
Creates different instances of StopStrategy. This Factory creates different types of stop-strategies. More...
#include <ArmarXCore/util/ScenarioManagerCommon/executor/StopStrategyFactory.h>
Public Member Functions | |
StopStrategyPtr | getKillStrategy (ApplicationStopperPtr appStopper) |
StopStrategyPtr | getStopAndKillStrategy (ApplicationStopperPtr appStopper, int delay) |
Creates a StopStrategy that first tries to stop the application, the waits a certain amount of time, then kills the application. More... | |
StopStrategyPtr | getStopStrategy (ApplicationStopperPtr appStopper) |
Creates a StopStrategy that simply tries to stop the application. More... | |
Creates different instances of StopStrategy. This Factory creates different types of stop-strategies.
Definition at line 39 of file StopStrategyFactory.h.
StopStrategyPtr getKillStrategy | ( | ApplicationStopperPtr | appStopper | ) |
Definition at line 45 of file StopStrategyFactory.cpp.
StopStrategyPtr getStopAndKillStrategy | ( | ApplicationStopperPtr | appStopper, |
int | delay | ||
) |
Creates a StopStrategy that first tries to stop the application, the waits a certain amount of time, then kills the application.
appStopper | stopper used by the strategy to stop the application |
delay | delay between stop and kill |
Definition at line 40 of file StopStrategyFactory.cpp.
StopStrategyPtr getStopStrategy | ( | ApplicationStopperPtr | appStopper | ) |
Creates a StopStrategy that simply tries to stop the application.
appStopper | stopper used by the strategy to stop the application |
Definition at line 35 of file StopStrategyFactory.cpp.