Kill Class Reference

#include <ArmarXCore/util/ScenarioManagerCommon/executor/Kill.h>

+ Inheritance diagram for Kill:

Public Member Functions

ApplicationStopperPtr getStopper ()
 Returns the stopper used by this StopStrategy.
 
 Kill (ApplicationStopperPtr stopper)
 Constructor that sets the ApplicationStopper used by this StopStrategy.
 
void stop (Data_Structure::ApplicationInstancePtr application)
 Stops an application.
 
- Public Member Functions inherited from StopStrategy
 StopStrategy (ApplicationStopperPtr stopper)
 

Additional Inherited Members

- Protected Member Functions inherited from StopStrategy
void awaitTermination (const Data_Structure::ApplicationInstancePtr &application, int signalledPid)
 Waits until the process that was signalled has terminated, then clears the application's pid.
 
- Protected Attributes inherited from StopStrategy
ApplicationStopperPtr stopper
 
- Static Protected Attributes inherited from StopStrategy
static constexpr std::chrono::milliseconds TerminationTimeout {10000}
 How long to wait for a signalled process to actually disappear before giving up.
 

Detailed Description

Definition at line 39 of file Kill.h.

Constructor & Destructor Documentation

◆ Kill()

Constructor that sets the ApplicationStopper used by this StopStrategy.

Parameters
stopperstopper used in this strategy

Definition at line 6 of file Kill.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ getStopper()

ApplicationStopperPtr getStopper ( )

Returns the stopper used by this StopStrategy.

Returns
stopper used by this strategy

Definition at line 19 of file Kill.cpp.

◆ stop()

void stop ( Data_Structure::ApplicationInstancePtr application)
virtual

Stops an application.

Parameters
applicationapplication to be stopped

Implements StopStrategy.

Definition at line 11 of file Kill.cpp.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: