Classes | Defines | Functions

C:/CVUT/diplomka/Automata_editor/sources/drawAlgorithm.cpp File Reference

#include "constants.h"
#include "drawAlgorithm.h"
#include "editor.h"
#include "commands.h"
#include "stateManager.h"
#include "transitionManager.h"
#include "state.h"
#include "oneStateTransition.h"
#include "twoStatesTransition.h"
#include "automataCreator.h"
#include "transition.h"
#include "iautomaton.h"
#include "itransition.h"
#include "istate.h"
#include <QSharedPointer>
#include <QPoint>
#include <QUndoCommand>
#include <QQueue>
#include <QStack>
#include <QList>
#include <limits>
#include <queue>
#include <vector>
#include <stack>
Include dependency graph for drawAlgorithm.cpp:

Go to the source code of this file.

Classes

class  DistanceComparator

Defines

#define DBGLOG_DRAW(x)   DBGLOG_("DRAWING", x)

Functions

StatecreateState (Editor *editor, const QPoint &pos, const QSharedPointer< IState > &state)
void setParams (const State &s1, const State &s2, const QPoint &startPos, const int xStep, const int yStep, QString &typeName, float &arcAngle, bool &leftOriented)
int transitionCountBetween (const State &s1, const State &s2)

Define Documentation

#define DBGLOG_DRAW (   x  )     DBGLOG_("DRAWING", x)

Function Documentation

State* createState ( Editor editor,
const QPoint &  pos,
const QSharedPointer< IState > &  state 
)
void setParams ( const State s1,
const State s2,
const QPoint &  startPos,
const int  xStep,
const int  yStep,
QString &  typeName,
float &  arcAngle,
bool &  leftOriented 
)

Definition at line 224 of file drawAlgorithm.cpp.

References transitionCountBetween().

Referenced by BaseDrawAlgorithm::drawTransitions().

Here is the call graph for this function:

Here is the caller graph for this function:

int transitionCountBetween ( const State s1,
const State s2 
)

Definition at line 203 of file drawAlgorithm.cpp.

References Transition::getDestinationState(), State::getName(), and State::getOutgoingTransitions().

Referenced by setParams().

Here is the call graph for this function:

Here is the caller graph for this function: