Public Member Functions

IDrawAlgorithm Class Reference

#include <idrawalgorithm.h>

Inheritance diagram for IDrawAlgorithm:

List of all members.

Public Member Functions

virtual ~IDrawAlgorithm ()
virtual QList< State * > drawAutomaton (Editor *editor, const QSharedPointer< IAutomaton > &automaton)=0
virtual QString getName () const =0

Detailed Description

Definition at line 13 of file idrawalgorithm.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file idrawalgorithm.h.

Member Function Documentation

virtual QList<State*> IDrawAlgorithm::drawAutomaton ( Editor editor,
const QSharedPointer< IAutomaton > &  automaton 
) [pure virtual]

Returns list of currently created states with transitions assigned, just use ItemsAddCommand on it

startPos is left-top corner of result automaton

Implemented in NaiveDrawAlgorithm, FarthestFinalDrawAlgorithm, and GraphVizDrawAlgorithm.

virtual QString IDrawAlgorithm::getName (  )  const [pure virtual]

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