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
5
#include "
Elements/Framework/TypedElementCounter.h
"
6
#include "ObjectElementCounterInterface.generated.h"
7
8
UCLASS
(MinimalAPI)
9
class
UObjectElementCounterInterface
:
public
UObject
,
public
ITypedElementCounterInterface
10
{
11
GENERATED_BODY
()
12
13
public
:
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
};
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
GENERATED_BODY
#define GENERATED_BODY(...)
Definition
ObjectMacros.h:765
UCLASS
#define UCLASS(...)
Definition
ObjectMacros.h:776
TypedElementCounter.h
FTypedElementCounter
Definition
TypedElementCounter.h:50
ITypedElementCounterInterface
Definition
TypedElementCounter.h:300
UObjectElementCounterInterface
Definition
ObjectElementCounterInterface.h:10
UObject
Definition
Object.h:95
FTypedElementHandle
Definition
TypedElementHandle.h:18
Engine
Source
Runtime
Engine
Public
Elements
Object
ObjectElementCounterInterface.h
Generated by
1.9.8