StopperFactoryLinux Class Reference

Creates different ApplicationStopper for Linux. Shouldn't be used on other operating systems, since the stoppers use system calls to stop applications. More...

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

+ Inheritance diagram for StopperFactoryLinux:

Public Member Functions

ApplicationStopperPtr getByNameStopper () override
 Creates a ByNameStopperLinux and returns it. More...
 
ApplicationStopperPtr getPidStopper () override
 Creates a PidStopperLinux and returns it. More...
 
- Public Member Functions inherited from StopperFactory
ApplicationStopperPtr getIceStopper (const IceGrid::AdminPrx admin)
 Returns an IceStopper. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from StopperFactory
static std::shared_ptr< StopperFactorygetFactory ()
 Returns the right StopperFactory for this operating system. More...
 

Detailed Description

Creates different ApplicationStopper for Linux. Shouldn't be used on other operating systems, since the stoppers use system calls to stop applications.

Definition at line 39 of file StopperFactoryLinux.h.

Member Function Documentation

◆ getByNameStopper()

ApplicationStopperPtr getByNameStopper ( )
overridevirtual

Creates a ByNameStopperLinux and returns it.

This stopper stops applications based on their name.

Returns
a ByNameStopperLinux

Implements StopperFactory.

Definition at line 38 of file StopperFactoryLinux.cpp.

◆ getPidStopper()

ApplicationStopperPtr getPidStopper ( )
overridevirtual

Creates a PidStopperLinux and returns it.

This stopper stops applications based on their pid.

Returns
a PidStopperLinux

Implements StopperFactory.

Definition at line 33 of file StopperFactoryLinux.cpp.


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