TTypedElementBase

Common implementation of [TTypedElement](API\Runtime\TypedElementFramework\Elements\Framework\TTypedElement) that is inherited by all specializations.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

TypedElementFramework

Header

/Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementHandle.h

Include

#include "Elements/Framework/TypedElementHandle.h"

Syntax

template<typename BaseInterfaceType>
struct TTypedElementBase : public FTypedElementHandle

Remarks

Common implementation of TTypedElement that is inherited by all specializations.

Variables

Name Description

Protected variable

BaseInterfaceTy...

 

InterfacePtr

Constructors

Name Description

Public function

TTypedElementBase()

Public function

TTypedElementBase

(
    const TTypedElementBase&
)

Public function

TTypedElementBase

(
    TTypedElementBase&& InOther
)

Destructors

Name Description

Public function

~TTypedElementBase()

Functions

Name Description

Public function Const

BaseInterfac...

 

GetInterface()

Attempt to access the interface stored within this element, returning null if it isn't set.

Public function Const

U &

 

GetInterfaceChecked()

Attempt to access the interface stored within this element, asserting if it isn't set.

Public function Const

bool

 

IsSet()

Has this element been initialized to a valid handle and interface?

Public function

void

 

Private_DestroyNoRef()

Public function

void

 

Private_DestroyReleaseRef()

Public function

void

 

Private_InitializeAddRef

(
    const FTypedElementInternalData& I...,
    BaseInterfaceType* InInterface...
)

Public function

void

 

Private_InitializeNoRef

(
    const FTypedElementInternalData& I...,
    BaseInterfaceType* InInterface...
)

Public function

void

 

Release()

Release this element and set it back to an empty state.

Operators

Name Description

Public function Const

 

operator bool()

Public function

TTypedElemen...

 

operator=

(
    const TTypedElementBase&
)

Public function

TTypedElemen...

 

operator=

(
    TTypedElementBase&& InOther
)