MVC
0.0.1
|
There is class of model of the graphic editor. Подробнее...
#include <model.h>
Открытые члены | |
Model ()=default | |
~Model ()=default | |
void | newModel () override |
Create new suite. Подробнее... | |
void | saveModel () override |
Save suite. Подробнее... | |
void | openModel (std::string &) override |
Open new suite. Подробнее... | |
void | addPoint (const Point &) override |
Add Point to suite. Подробнее... | |
void | addLine (const Point &, const Point &) override |
Add line to suite. Подробнее... | |
void | addCircle (const Point &, const int &) override |
Add circle to suite. Подробнее... | |
void | removeLast () override |
Removes last shape from suite. Подробнее... | |
void | draw (std::shared_ptr< IPainter >) const override |
Draw all primitive from suite. Подробнее... | |
![]() | |
virtual | ~IModel ()=default |
![]() | |
Observable ()=default | |
virtual | ~Observable ()=default |
void | subscribe (IViewSptr in_observer) noexcept |
void | unsubscribe (IViewSptr in_observer) noexcept |
void | notifyUpdate () noexcept |
There is class of model of the graphic editor.
|
default |
|
default |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Create new suite.
Замещает IModel.
|
overridevirtual |
|
overridevirtual |
Removes last shape from suite.
Замещает IModel.
|
overridevirtual |
Save suite.
Замещает IModel.