Engauge Digitizer  2
TransformationStateAbstractBase.cpp
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #include "TransformationStateAbstractBase.h"
8 #include "TransformationStateContext.h"
9 
11  m_context (context)
12 {
13 }
14 
15 TransformationStateAbstractBase::~TransformationStateAbstractBase()
16 {
17 }
18 
20 {
21  return m_context;
22 }
Context class for transformation state machine.
TransformationStateContext & context()
Reference to the TransformationStateContext that contains all the TransformationStateAbstractBase sub...
TransformationStateAbstractBase(TransformationStateContext &context)
Single constructor.