Cutelyst  2.13.0
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 26 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::RoleACLFactory, Cutelyst::RenderViewFactory, and Cutelyst::ActionRESTFactory.

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