cutelyst 3.9.1
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Public Member Functions | List of all members
Cutelyst::ComponentFactory Class Referenceabstract
Inheritance diagram for Cutelyst::ComponentFactory:
Inheritance graph
[legend]

Public Member Functions

virtual ComponentcreateComponent (QObject *parent=nullptr)=0
 

Detailed Description

Definition at line 14 of file componentfactory.h.

Member Function Documentation

◆ createComponent()

virtual Component * Cutelyst::ComponentFactory::createComponent ( QObject parent = nullptr)
pure virtual

Component plugins should reimplement this to get a new instace of their component

Implemented in Cutelyst::RenderViewFactory, Cutelyst::ActionRESTFactory, and Cutelyst::RoleACLFactory.

Referenced by Cutelyst::Application::createComponentPlugin().