Curve::CommandObjectBase Class Referenceabstract
Inheritance diagram for Curve::CommandObjectBase:
Curve::CreatePointCommandObject Curve::MovePointCommandObject Curve::PenCommandObject

Public Member Functions

 CommandObjectBase (const Model &model, Presenter *pres, const score::CommandStackFacade &)
 
void setCurveState (Curve::StateBase *stateBase)
 
void press ()
 
void handleLocking ()
 

Protected Member Functions

void submit (std::vector< SegmentData > &&)
 
auto find (std::vector< SegmentData > &segments, const OptionalId< SegmentModel > &id)
 
auto find (const std::vector< SegmentData > &segments, const OptionalId< SegmentModel > &id)
 
virtual void on_press ()=0
 

Protected Attributes

QVector< QByteArray > m_oldCurveData
 
QPointF m_originalPress
 
const Modelm_model
 
Presenterm_presenter {}
 
Curve::StateBasem_state {}
 
SingleOngoingCommandDispatcher< UpdateCurvem_dispatcher
 
std::vector< SegmentDatam_startSegments
 
double m_xmin {-1}
 
double m_xmax {2}
 
double m_xLastPoint {2}
 

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