Engauge Digitizer 2
Loading...
Searching...
No Matches
GuidelineViewStateAbstractBase Class Referenceabstract

This class tracks the current Guidelines view state so CmdGuidelineViewState objects can be generated with before and after states both available (for redo and undo) More...

#include <GuidelineViewStateAbstractBase.h>

Inheritance diagram for GuidelineViewStateAbstractBase:
Inheritance graph
Collaboration diagram for GuidelineViewStateAbstractBase:
Collaboration graph

Public Member Functions

 GuidelineViewStateAbstractBase (GuidelineViewStateContext &context)
 Single constructor.
virtual ~GuidelineViewStateAbstractBase ()
virtual void begin ()=0
 Transition into state.
virtual void end ()=0
 Transition out of state.
virtual void handleStateChange (GuidelineViewState state)=0
 User or software changed the current view state widgets.
virtual GuidelineViewState state () const =0
 Return state for serializing.

Protected Member Functions

GuidelineViewStateContextcontext () const
 Context in charge of the state classes.

Detailed Description

This class tracks the current Guidelines view state so CmdGuidelineViewState objects can be generated with before and after states both available (for redo and undo)

Definition at line 16 of file GuidelineViewStateAbstractBase.h.

Constructor & Destructor Documentation

◆ GuidelineViewStateAbstractBase()

GuidelineViewStateAbstractBase::GuidelineViewStateAbstractBase ( GuidelineViewStateContext & context)

Single constructor.

Definition at line 11 of file GuidelineViewStateAbstractBase.cpp.

11 :
12 m_context (context)
13{
14}
GuidelineViewStateContext & context() const
Context in charge of the state classes.

◆ ~GuidelineViewStateAbstractBase()

GuidelineViewStateAbstractBase::~GuidelineViewStateAbstractBase ( )
virtual

Definition at line 16 of file GuidelineViewStateAbstractBase.cpp.

17{
18}

Member Function Documentation

◆ begin()

virtual void GuidelineViewStateAbstractBase::begin ( )
pure virtual

Transition into state.

Implemented in GuidelineViewStateEdit, GuidelineViewStateHide, and GuidelineViewStateLock.

◆ context()

GuidelineViewStateContext & GuidelineViewStateAbstractBase::context ( ) const
protected

Context in charge of the state classes.

Definition at line 20 of file GuidelineViewStateAbstractBase.cpp.

21{
22 return m_context;
23}

◆ end()

virtual void GuidelineViewStateAbstractBase::end ( )
pure virtual

Transition out of state.

Implemented in GuidelineViewStateEdit, GuidelineViewStateHide, and GuidelineViewStateLock.

◆ handleStateChange()

virtual void GuidelineViewStateAbstractBase::handleStateChange ( GuidelineViewState state)
pure virtual

User or software changed the current view state widgets.

Implemented in GuidelineViewStateEdit, GuidelineViewStateHide, and GuidelineViewStateLock.

◆ state()

virtual GuidelineViewState GuidelineViewStateAbstractBase::state ( ) const
pure virtual

Return state for serializing.

Implemented in GuidelineViewStateEdit, GuidelineViewStateHide, and GuidelineViewStateLock.


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