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

Abstract Factory provide an interface for creating families of related or dependent templates without specifying their concrete classes. More...

#include <AbstractTemplateFactory.h>

Inheritance diagram for te::layout::AbstractTemplateFactory:
te::layout::TemplateFactory

Public Member Functions

virtual AbstractTemplatemake (EnumType *type, TemplateParamsCreate params=TemplateParamsCreate())=0
 Method that builds and returns a new template of the type defined as parameter. More...
 
virtual ~AbstractTemplateFactory (void)
 Constructor. More...
 

Detailed Description

Abstract Factory provide an interface for creating families of related or dependent templates without specifying their concrete classes.

Definition at line 47 of file AbstractTemplateFactory.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 54 of file AbstractTemplateFactory.h.

Member Function Documentation

virtual AbstractTemplate* te::layout::AbstractTemplateFactory::make ( EnumType type,
TemplateParamsCreate  params = TemplateParamsCreate() 
)
pure virtual

Method that builds and returns a new template of the type defined as parameter.

Parameters
typetype of the new object
params

Implemented in te::layout::TemplateFactory.

Referenced by te::layout::TemplateEditor::TemplateEditor().


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