StopStrategy Class Referenceabstract

Interface for classes that define how an application get stopped. More...

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

+ Inheritance diagram for StopStrategy:

Public Member Functions

virtual void stop (Data_Structure::ApplicationInstancePtr application)=0
 Stops an application. More...
 
 StopStrategy (ApplicationStopperPtr stopper)
 

Protected Attributes

ApplicationStopperPtr stopper
 

Detailed Description

Interface for classes that define how an application get stopped.

Definition at line 22 of file StopStrategy.h.

Constructor & Destructor Documentation

◆ StopStrategy()

Definition at line 32 of file StopStrategy.cpp.

Member Function Documentation

◆ stop()

virtual void stop ( Data_Structure::ApplicationInstancePtr  application)
pure virtual

Stops an application.

Implement this method to define the behaviour when stopping applications.

Parameters
applicationapplication to be stopped.

Implemented in StopAndKill, Stop, and Kill.

+ Here is the caller graph for this function:

Member Data Documentation

◆ stopper

ApplicationStopperPtr stopper
protected

Definition at line 25 of file StopStrategy.h.


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