MVC
0.0.1
|
Here is model for keeping primitive objects. Подробнее...
#include <imodel.h>
Открытые члены | |
virtual | ~IModel ()=default |
virtual void | newModel ()=0 |
Create new suite. Подробнее... | |
virtual void | openModel (std::string &)=0 |
Open suite from file. Подробнее... | |
virtual void | saveModel ()=0 |
Save current suite. Подробнее... | |
virtual void | addPoint (const Point &)=0 |
Add Point to suite. Подробнее... | |
virtual void | addLine (const Point &, const Point &)=0 |
Add line to suite. Подробнее... | |
virtual void | addCircle (const Point &, const int &)=0 |
Add circle to suite. Подробнее... | |
virtual void | removeLast ()=0 |
Removes last shape from suite. Подробнее... | |
virtual void | draw (IPainterSptr) const =0 |
Redraw of suite. Подробнее... | |
![]() | |
Observable ()=default | |
virtual | ~Observable ()=default |
void | subscribe (IViewSptr in_observer) noexcept |
void | unsubscribe (IViewSptr in_observer) noexcept |
void | notifyUpdate () noexcept |
Here is model for keeping primitive objects.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Create new suite.
Замещается в Model.
|
pure virtual |
|
pure virtual |
Removes last shape from suite.
Замещается в Model.
|
pure virtual |
Save current suite.
Замещается в Model.