Navigation
Unreal Engine C++ API Reference > Runtime > Core > Misc > TTypeContainer
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
Type | Name | Description | |
---|---|---|---|
![]() |
TFunction< TSharedPtr< void, Mode >)> | CreateFunc |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TFunctionInstanceProvider
(
TFunction< TSharedPtr< void, Mode >()>&& InCreateFunc |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TSharedPtr< void, Mode > | GetInstance () |