Public Types | Public Member Functions

IAlgorithm Class Reference

#include <ialgorithm.h>

Inheritance diagram for IAlgorithm:

List of all members.

Public Types

typedef QList< QSharedPointer
< IAlgorithm > > 
TAlgorithmList

Public Member Functions

virtual ~IAlgorithm ()
virtual int getInputCount () const =0
virtual QString getName () const =0
virtual bool hasSettingsDialog () const =0
virtual bool requireCreator () const =0
virtual bool run (const IAutomaton::TAutomataList &input, QSharedPointer< IAutomaton > &result, QString *report=0) const =0
virtual void runSettingsDialog (QWidget *parent=NULL)=0
virtual void setAutomataCreator (const QSharedPointer< IAutomataCreator > &creator)=0

Detailed Description

Definition at line 9 of file ialgorithm.h.


Member Typedef Documentation

typedef QList<QSharedPointer<IAlgorithm> > IAlgorithm::TAlgorithmList

Definition at line 8 of file ialgorithm.h.


Constructor & Destructor Documentation

virtual IAlgorithm::~IAlgorithm (  )  [inline, virtual]

Definition at line 10 of file ialgorithm.h.

References getInputCount(), getName(), hasSettingsDialog(), requireCreator(), run(), runSettingsDialog(), and setAutomataCreator().

Here is the call graph for this function:


Member Function Documentation

virtual int IAlgorithm::getInputCount (  )  const [pure virtual]
virtual QString IAlgorithm::getName (  )  const [pure virtual]
virtual bool IAlgorithm::hasSettingsDialog (  )  const [pure virtual]

Implemented in BasicAlgorithm, BasicAlgorithmWithSettings, and PluginHowtoAlgorithm.

Referenced by LoadAutomataDialog::LoadAutomataDialog(), and ~IAlgorithm().

Here is the caller graph for this function:

virtual bool IAlgorithm::requireCreator (  )  const [pure virtual]

Algorithm can implement own IAutomaton, IState and ITransition classes, in that case doesn't require creator to be set

Implemented in BasicAlgorithm, and PluginHowtoAlgorithm.

Referenced by ~IAlgorithm().

Here is the caller graph for this function:

virtual bool IAlgorithm::run ( const IAutomaton::TAutomataList input,
QSharedPointer< IAutomaton > &  result,
QString *  report = 0 
) const [pure virtual]

Implemented in BasicAlgorithm, and PluginHowtoAlgorithm.

Referenced by ~IAlgorithm().

Here is the caller graph for this function:

virtual void IAlgorithm::runSettingsDialog ( QWidget *  parent = NULL  )  [pure virtual]

Implemented in BasicAlgorithm, BasicAlgorithmWithSettings, and PluginHowtoAlgorithm.

Referenced by LoadAutomataDialog::algorithmSettings(), and ~IAlgorithm().

Here is the caller graph for this function:

virtual void IAlgorithm::setAutomataCreator ( const QSharedPointer< IAutomataCreator > &  creator  )  [pure virtual]

Implemented in BasicAlgorithm, and PluginHowtoAlgorithm.

Referenced by ~IAlgorithm().

Here is the caller graph for this function:


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