TSharedInstanceProvider

Implements an instance provider that returns the same instance for all threads.

Windows
MacOS
Linux

Inheritance Hierarchy

TTypeContainer< Mode >::IInstanceProvider

TTypeContainer::TSharedInstanceProvider

References

Module

Core

Header

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

Include

#include "Misc/TypeContainer.h"

Syntax

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

Remarks

Implements an instance provider that returns the same instance for all threads.

Variables

Name Description

Public variable

TSharedRef< T, ...

 

Instance

Constructors

Name Description

Public function

TSharedInstanceProvider

(
    const TSharedRef< T, Mode >& InIns...
)

Destructors

Name Description

Public function Virtual

~TSharedInstanceProvider()

Functions

Name Description

Public function Virtual

TSharedPtr< ...

 

GetInstance()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss