Navigation
API > API/Runtime > API/Runtime/IrisCore
A helper RAII class to allow thread-safe access to FNetStatsContext If created within a ParallelPhase, the constructor acquires a ChildNetStatsContext, otherwise it falls back to the ParentNetStatsContext. This means that we do not lock any mutexes for the duration of this object, only briefly inside AcquireChildNetStatsContext
| Name | FScopedNetStatsContext |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationSystem.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystem.h" |
Syntax
class FScopedNetStatsContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedNetStatsContext
(
UReplicationSystem*const InReplicationSystem |
Iris/ReplicationSystem/ReplicationSystem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedNetStatsContext() |
Iris/ReplicationSystem/ReplicationSystem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWasAcquiredInParallelPhase | bool | Iris/ReplicationSystem/ReplicationSystem.h | ||
| StoredNetStatsContext | Private::FNetStatsContext * | Iris/ReplicationSystem/ReplicationSystem.h | ||
| StoredReplicationSystem | UReplicationSystem * | Iris/ReplicationSystem/ReplicationSystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Private::FNetStatsContext * GetRawPtr() |
Iris/ReplicationSystem/ReplicationSystem.h |