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...
 
ApplicationStopperPtr getIceStopper (const IceGrid::AdminPrx admin)
 Returns an IceStopper. 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 38 of file StopperFactory.cpp.

◆ getIceStopper()

ApplicationStopperPtr getIceStopper ( const IceGrid::AdminPrx  admin)

Returns an IceStopper.

Should be indipendent from the operating system.

Returns
system-indipendent IceStopper

Definition at line 33 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: