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 removeApplication (Data_Structure::ApplicationInstancePtr application, StatusManager statusManager)
 
virtual void removeScenario (Data_Structure::ScenarioPtr scenario, StatusManager statusManager)
 
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

◆ removeApplication()

void removeApplication ( Data_Structure::ApplicationInstancePtr  application,
StatusManager  statusManager 
)
virtual

Definition at line 37 of file StopStrategy.cpp.

+ Here is the caller graph for this function:

◆ removeScenario()

void removeScenario ( Data_Structure::ScenarioPtr  scenario,
StatusManager  statusManager 
)
virtual

Definition at line 43 of file StopStrategy.cpp.

+ Here is the caller graph for this function:

◆ 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: