StopperFactory Class Referenceabstract

Abstract base class for factory classes that create ApplicationStopper. Should be implemented for each operating system. More...

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

+ Inheritance diagram for StopperFactory:

Public Member Functions

virtual ApplicationStopperPtr getByNameStopper ()=0
 Returns a system-specific ApplicationStopper, which stops by using the name. More...
 
virtual ApplicationStopperPtr getPidStopper ()=0
 Returns a system-specific ApplicationStopper, which stops by using the pid. More...
 

Static Public Member Functions

static std::shared_ptr< StopperFactorygetFactory ()
 Returns the right StopperFactory for this operating system. More...
 

Detailed Description

Abstract base class for factory classes that create ApplicationStopper. Should be implemented for each operating system.

Definition at line 40 of file StopperFactory.h.

Member Function Documentation

◆ getByNameStopper()

virtual ApplicationStopperPtr getByNameStopper ( )
pure virtual

Returns a system-specific ApplicationStopper, which stops by using the name.

Returns
system-specific by name stopper

Implemented in StopperFactoryLinux.

◆ getFactory()

StopperFactoryPtr getFactory ( )
static

Returns the right StopperFactory for this operating system.

Returns
StopperFactory depending on the operating system

Definition at line 32 of file StopperFactory.cpp.

◆ getPidStopper()

virtual ApplicationStopperPtr getPidStopper ( )
pure virtual

Returns a system-specific ApplicationStopper, which stops by using the pid.

Returns
system-specific by pid stopper

Implemented in StopperFactoryLinux.


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