Engauge Digitizer 2
Loading...
Searching...
No Matches
TransformationStateUndefined Class Reference

Class to not show transformation since transformation is undefined. More...

#include <TransformationStateUndefined.h>

Inheritance diagram for TransformationStateUndefined:
Inheritance graph
Collaboration diagram for TransformationStateUndefined:
Collaboration graph

Public Member Functions

 TransformationStateUndefined (TransformationStateContext &context, QGraphicsScene &scene)
 Single constructor.
virtual void begin (bool isGnuplot, CmdMediator &cmdMediator, const Transformation &transformation, const QString &selectedGraphCurve)
 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)
 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)
 Apply the new DocumentModelAxesChecker.
Public Member Functions inherited from TransformationStateAbstractBase
 TransformationStateAbstractBase (TransformationStateContext &context)
 Single constructor.
virtual ~TransformationStateAbstractBase ()

Additional Inherited Members

Protected Member Functions inherited from TransformationStateAbstractBase
TransformationStateContextcontext ()
 Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase subclasses, without const.

Detailed Description

Class to not show transformation since transformation is undefined.

Definition at line 13 of file TransformationStateUndefined.h.

Constructor & Destructor Documentation

◆ TransformationStateUndefined()

TransformationStateUndefined::TransformationStateUndefined ( TransformationStateContext & context,
QGraphicsScene & scene )

Single constructor.

Definition at line 15 of file TransformationStateUndefined.cpp.

16 :
18{
19}
TransformationStateContext & context()
Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase sub...
TransformationStateAbstractBase(TransformationStateContext &context)
Single constructor.

Member Function Documentation

◆ begin()

void TransformationStateUndefined::begin ( bool isGnuplot,
CmdMediator & cmdMediator,
const Transformation & transformation,
const QString & selectedGraphCurve )
virtual

Method that is called at the exact moment a state is entered. Typically called just after end for the previous state.

Implements TransformationStateAbstractBase.

Definition at line 21 of file TransformationStateUndefined.cpp.

25{
26 LOG4CPP_INFO_S ((*mainCat)) << "TransformationStateUndefined::begin";
27}
log4cpp::Category * mainCat
Definition Logger.cpp:14
#define LOG4CPP_INFO_S(logger)
Definition convenience.h:18

◆ end()

void TransformationStateUndefined::end ( CmdMediator & cmdMediator,
const Transformation & transformation )
virtual

Method that is called at the exact moment a state is exited. Typically called just before begin for the next state.

Implements TransformationStateAbstractBase.

Definition at line 29 of file TransformationStateUndefined.cpp.

31{
32 LOG4CPP_INFO_S ((*mainCat)) << "TransformationStateUndefined::end";
33}

◆ updateAxesChecker()

void TransformationStateUndefined::updateAxesChecker ( CmdMediator & cmdMediator,
const Transformation & transformation )
virtual

Apply the new DocumentModelAxesChecker.

Implements TransformationStateAbstractBase.

Definition at line 35 of file TransformationStateUndefined.cpp.

37{
38 LOG4CPP_INFO_S ((*mainCat)) << "TransformationStateUndefined::updateAxesChecker";
39
40 // Noop
41}

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