cutelyst  4.4.0
A C++ Web Framework built on top of Qt, using the simple approach of Catalyst (Perl) framework.
Cutelyst::ComponentFactory Class Referenceabstract
Inheritance diagram for Cutelyst::ComponentFactory:

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::CutelystRoleACL, Cutelyst::CutelystActionREST, and Cutelyst::CutelystActionRenderView.

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