TBuildFunctionFactory

Factory that creates and registers a build function.

Windows
MacOS
Linux

Inheritance Hierarchy

IModularFeature

IBuildFunctionFactory

TBuildFunctionFactory

References

Module

DerivedDataCache

Header

/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunctionFactory.h

Include

#include "DerivedDataBuildFunctionFactory.h"

Syntax

template<typename FunctionType>
class TBuildFunctionFactory : public UE::DerivedData::IBuildFunctionFactory

Remarks

Factory that creates and registers a build function.

A build function must be registered by a build function factory before it can execute a build. Register a function in the source file that implements it or in the corresponding module.

Examples: static const TBuildFunctionFactory<FExampleFunction> ExampleFunctionFactory; static const TBuildFunctionFactory<TExampleFunction<FType>> ExampleFunctionFactory(Name, Version);

Constructors

Name Description

Public function

TBuildFunctionFactory

(
    ArgTypes&&... Args
)

Destructors

Name Description

Public function

~TBuildFunctionFactory()

Overridden from IBuildFunctionFactory

Name Description

Public function Virtual Const

const IBuild...

 

GetFunction()

Returns the build function associated with this factory.