UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ObjectElementCounterInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "ObjectElementCounterInterface.generated.h"
7
8UCLASS(MinimalAPI)
10{
12
13public:
14 ENGINE_API virtual void IncrementCountersForElement(const FTypedElementHandle& InElementHandle, FTypedElementCounter& InOutCounter) override;
15 ENGINE_API virtual void DecrementCountersForElement(const FTypedElementHandle& InElementHandle, FTypedElementCounter& InOutCounter) override;
16
17 static ENGINE_API void IncrementCounterForObjectClass(const UObject* InObject, FTypedElementCounter& InOutCounter);
18 static ENGINE_API void DecrementCounterForObjectClass(const UObject* InObject, FTypedElementCounter& InOutCounter);
19};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition TypedElementCounter.h:50
Definition TypedElementCounter.h:300
Definition ObjectElementCounterInterface.h:10
Definition Object.h:95
Definition TypedElementHandle.h:18