Abstract Factory provide an interface for creating families of related or dependent graphic objects (MVC components) without specifying their concrete classes. More...
#include <AbstractItemFactory.h>
Public Member Functions | |
virtual Observer * | make (EnumType *type, ItemParamsCreate params=ItemParamsCreate())=0 |
Method that builds and returns a new object (MVC component) of the type defined as parameter. More... | |
virtual | ~AbstractItemFactory (void) |
Constructor. More... | |
Abstract Factory provide an interface for creating families of related or dependent graphic objects (MVC components) without specifying their concrete classes.
Definition at line 46 of file AbstractItemFactory.h.
|
inlinevirtual |
Constructor.
Definition at line 53 of file AbstractItemFactory.h.
|
pure virtual |
Method that builds and returns a new object (MVC component) of the type defined as parameter.
type | type of the new object |
params | parameters to creation new object. Ex.: "Model" and "Controller" of the new object (MVC component). |
Implemented in te::layout::ItemFactory.
Referenced by te::layout::ItemController::create().