MVC  0.0.1
Открытые члены | Полный список членов класса
Интерфейс IControllerabstract

Here is controlls the model. Подробнее...

#include <icontroller.h>

+ Граф наследования:IController:
+ Граф связей класса IController:

Открытые члены

 IController ()=default
 
virtual ~IController ()=default
 
virtual void commandClear ()=0
 Clearing current model. Подробнее...
 
virtual void commandNewPoint (const Point &)=0
 Adds shape Point to current model. Подробнее...
 
virtual void commandNewLine (const Point &, const Point &)=0
 Adds shape line to current model. Подробнее...
 
virtual void commandNewCircle (const Point &, const int &)=0
 Adds shape circle to current model. Подробнее...
 
virtual void commandRemoveShape ()=0
 Removes last shape from current model. Подробнее...
 
virtual void commandOpenSuite (const std::string &)=0
 loads the model from file Подробнее...
 
virtual void commandSaveSuite (const std::string &)=0
 saves the model to file Подробнее...
 
virtual void loop ()=0
 starts processing user commands Подробнее...
 
virtual bool readCommand ()=0
 Reads user commands to process current model. Подробнее...
 

Подробное описание

Here is controlls the model.

Конструктор(ы)

◆ IController()

IController::IController ( )
default

◆ ~IController()

virtual IController::~IController ( )
virtualdefault

Методы

◆ commandClear()

virtual void IController::commandClear ( )
pure virtual

Clearing current model.

Замещается в Controller.

◆ commandNewCircle()

virtual void IController::commandNewCircle ( const Point ,
const int &   
)
pure virtual

Adds shape circle to current model.

Замещается в Controller.

◆ commandNewLine()

virtual void IController::commandNewLine ( const Point ,
const Point  
)
pure virtual

Adds shape line to current model.

Замещается в Controller.

◆ commandNewPoint()

virtual void IController::commandNewPoint ( const Point )
pure virtual

Adds shape Point to current model.

Замещается в Controller.

◆ commandOpenSuite()

virtual void IController::commandOpenSuite ( const std::string &  )
pure virtual

loads the model from file

Замещается в Controller.

◆ commandRemoveShape()

virtual void IController::commandRemoveShape ( )
pure virtual

Removes last shape from current model.

Замещается в Controller.

◆ commandSaveSuite()

virtual void IController::commandSaveSuite ( const std::string &  )
pure virtual

saves the model to file

Замещается в Controller.

◆ loop()

virtual void IController::loop ( )
pure virtual

starts processing user commands

Замещается в Controller.

◆ readCommand()

virtual bool IController::readCommand ( )
pure virtual

Reads user commands to process current model.


Объявления и описания членов интерфейса находятся в файле: