All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::AbstractItemFactory Class Referenceabstract

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>

Inheritance diagram for te::layout::AbstractItemFactory:
te::layout::ItemFactory

Public Member Functions

virtual Observermake (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

virtual te::layout::AbstractItemFactory::~AbstractItemFactory ( void  )
inlinevirtual

Constructor.

Definition at line 53 of file AbstractItemFactory.h.

Member Function Documentation

virtual Observer* te::layout::AbstractItemFactory::make ( EnumType type,
ItemParamsCreate  params = ItemParamsCreate() 
)
pure virtual

Method that builds and returns a new object (MVC component) of the type defined as parameter.

Parameters
typetype of the new object
paramsparameters 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().


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