#include <plugin_howto.h>
Public Member Functions | |
int | getInputCount () const |
QString | getName () const |
bool | hasSettingsDialog () const |
bool | requireCreator () const |
bool | run (const IAutomaton::TAutomataList &input, QSharedPointer< IAutomaton > &result, QString *report) const |
void | runSettingsDialog (QWidget *) |
void | setAutomataCreator (const QSharedPointer< IAutomataCreator > &creator) |
Private Attributes | |
QSharedPointer< IAutomataCreator > | m_creator |
Definition at line 7 of file plugin_howto.h.
int PluginHowtoAlgorithm::getInputCount | ( | ) | const [inline, virtual] |
Implements IAlgorithm.
Definition at line 17 of file plugin_howto.h.
QString PluginHowtoAlgorithm::getName | ( | ) | const [inline, virtual] |
Implements IAlgorithm.
Definition at line 16 of file plugin_howto.h.
bool PluginHowtoAlgorithm::hasSettingsDialog | ( | ) | const [inline, virtual] |
Implements IAlgorithm.
Definition at line 13 of file plugin_howto.h.
bool PluginHowtoAlgorithm::requireCreator | ( | ) | const [inline, virtual] |
Algorithm can implement own IAutomaton, IState and ITransition classes, in that case doesn't require creator to be set
Implements IAlgorithm.
Definition at line 10 of file plugin_howto.h.
bool PluginHowtoAlgorithm::run | ( | const IAutomaton::TAutomataList & | input, | |
QSharedPointer< IAutomaton > & | result, | |||
QString * | report | |||
) | const [virtual] |
void PluginHowtoAlgorithm::runSettingsDialog | ( | QWidget * | ) | [inline, virtual] |
Implements IAlgorithm.
Definition at line 14 of file plugin_howto.h.
void PluginHowtoAlgorithm::setAutomataCreator | ( | const QSharedPointer< IAutomataCreator > & | creator | ) | [virtual] |
QSharedPointer<IAutomataCreator> PluginHowtoAlgorithm::m_creator [private] |
Definition at line 24 of file plugin_howto.h.
Referenced by run(), and setAutomataCreator().