Stop Class Reference

Simply stops the application, using the given ApplicationStopper. This StopStrategy can be made system-specific by switching out its ApplicationStopper. More...

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

+ Inheritance diagram for Stop:

Public Member Functions

ApplicationStopperPtr getStopper ()
 Returns the stopper used by this StopStrategy. More...
 
 Stop (ApplicationStopperPtr stopper)
 Constructor that sets the ApplicationStopper used by this StopStrategy. More...
 
void stop (Data_Structure::ApplicationInstancePtr application) override
 Stops an application. More...
 
- Public Member Functions inherited from StopStrategy
virtual void removeApplication (Data_Structure::ApplicationInstancePtr application, StatusManager statusManager)
 
virtual void removeScenario (Data_Structure::ScenarioPtr scenario, StatusManager statusManager)
 
 StopStrategy (ApplicationStopperPtr stopper)
 

Additional Inherited Members

- Protected Attributes inherited from StopStrategy
ApplicationStopperPtr stopper
 

Detailed Description

Simply stops the application, using the given ApplicationStopper. This StopStrategy can be made system-specific by switching out its ApplicationStopper.

Definition at line 39 of file Stop.h.

Constructor & Destructor Documentation

◆ Stop()

Constructor that sets the ApplicationStopper used by this StopStrategy.

Parameters
stopperstopper used in this strategy

Definition at line 32 of file Stop.cpp.

Member Function Documentation

◆ getStopper()

ApplicationStopperPtr getStopper ( )

Returns the stopper used by this StopStrategy.

Returns
stopper used by this strategy

Definition at line 42 of file Stop.cpp.

◆ stop()

void stop ( Data_Structure::ApplicationInstancePtr  application)
overridevirtual

Stops an application.

Parameters
applicationapplication to be stopped

Implements StopStrategy.

Definition at line 36 of file Stop.cpp.


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