TFunctionInstanceProvider

Implements an instance provider that forwards instance requests to a factory function.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TTypeContainer< Mode >::IInstanceProvider

TTypeContainer::TFunctionInstanceProvider

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/TypeContainer.h

Include

#include "Misc/TypeContainer.h"

Syntax

template<class T>
struct TFunctionInstanceProvider : public TTypeContainer< Mode >::IInstanceProvider

Remarks

Implements an instance provider that forwards instance requests to a factory function.

Variables

Name Description

Public variable

TFunction< TSha...

 

CreateFunc

Constructors

Name Description

Public function

TFunctionInstanceProvider

(
    TFunction< TSharedPtr< void, Mode >...
)

Destructors

Name Description

Public function Virtual

~TFunctionInstanceProvider()

Functions

Name Description

Public function Virtual

TSharedPtr< ...

 

GetInstance()