Engauge Digitizer 2
|
Base class for all transformation states. This serves as an interface to TransformationStateContext. More...
#include <TransformationStateAbstractBase.h>
Public Member Functions | |
TransformationStateAbstractBase (TransformationStateContext &context) | |
Single constructor. | |
virtual | ~TransformationStateAbstractBase () |
virtual void | begin (bool isGnuplot, CmdMediator &cmdMediator, const Transformation &transformation, const QString &selectedGraphCurve)=0 |
Method that is called at the exact moment a state is entered. Typically called just after end for the previous state. | |
virtual void | end (CmdMediator &cmdMediator, const Transformation &transformation)=0 |
Method that is called at the exact moment a state is exited. Typically called just before begin for the next state. | |
virtual void | updateAxesChecker (CmdMediator &cmdMediator, const Transformation &transformation)=0 |
Apply the new DocumentModelAxesChecker. | |
Protected Member Functions | |
TransformationStateContext & | context () |
Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase subclasses, without const. | |
Base class for all transformation states. This serves as an interface to TransformationStateContext.
Definition at line 25 of file TransformationStateAbstractBase.h.
TransformationStateAbstractBase::TransformationStateAbstractBase | ( | TransformationStateContext & | context | ) |
Single constructor.
Definition at line 10 of file TransformationStateAbstractBase.cpp.
|
virtual |
Definition at line 15 of file TransformationStateAbstractBase.cpp.
|
pure virtual |
Method that is called at the exact moment a state is entered. Typically called just after end for the previous state.
Implemented in TransformationStateDefined, and TransformationStateUndefined.
|
protected |
Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase subclasses, without const.
Definition at line 19 of file TransformationStateAbstractBase.cpp.
|
pure virtual |
Method that is called at the exact moment a state is exited. Typically called just before begin for the next state.
Implemented in TransformationStateDefined, and TransformationStateUndefined.
|
pure virtual |
Apply the new DocumentModelAxesChecker.
Implemented in TransformationStateDefined, and TransformationStateUndefined.