Skip to content

Kuesa::Qt3D::Factory

More...

#include <factory.h>

Public Functions

Name
void registerType(const IdentifierType & id, ProductCreator creator)
void unregisterType(const IdentifierType & id)
AbstractProduct * create(const IdentifierType & id, const QVariantMap & properties)

Detailed Description

1
2
3
4
template <class AbstractProduct ,
typename IdentifierType ,
typename ProductCreator >
class Kuesa::Qt3D::Factory;

Public Functions Documentation

function registerType

1
2
3
4
inline void registerType(
    const IdentifierType & id,
    ProductCreator creator
)

function unregisterType

1
2
3
inline void unregisterType(
    const IdentifierType & id
)

function create

1
2
3
4
inline AbstractProduct * create(
    const IdentifierType & id,
    const QVariantMap & properties
)

Updated on 2022-10-18 at 11:12:50 +0200