6#include "Containers/Array.h"
11#if WITH_CHAOS_VISUAL_DEBUGGER
99 RecordingStoppedHandle = FChaosVDRuntimeModule::RegisterRecordingStopCallback(FChaosVDRecordingStateChangedDelegate::FDelegate::CreateLambda([
this](){
CVDDataBuffer.Empty(); }));
122 return Context->IsDataChannelEnabled();
138 FChaosVDThreadContext::Get().PopContext();
157 FChaosVDThreadContext::Get().PopContext();
168 FChaosVDThreadContext::Get().BufferAccessCounter++;
184 FChaosVDThreadContext::Get().BufferAccessCounter--;
190#ifndef CVD_GET_CURRENT_CONTEXT
191 #define CVD_GET_CURRENT_CONTEXT(OutContext) \
192 FChaosVDThreadContext::Get().GetCurrentContext(OutContext);
195#ifndef CVD_GET_WRAPPED_CURRENT_CONTEXT
196 #define CVD_GET_WRAPPED_CURRENT_CONTEXT(OutWrappedContext) \
197 FChaosVDContext CurrentContext; \
198 FChaosVDThreadContext::Get().GetCurrentContext(CurrentContext); \
199 OutWrappedContext = FChaosVDContextWrapper(CurrentContext);
202#ifndef CVD_SCOPE_CONTEXT
203 #define CVD_SCOPE_CONTEXT(InContext) \
204 FChaosVDScopeContext CVDScope(InContext);
207#ifndef CVD_SCOPED_DATA_CHANNEL_OVERRIDE
208 #define CVD_SCOPED_DATA_CHANNEL_OVERRIDE(DataChannel) \
209 FChaosCVDScopedDataChannelOverride CVDDC_Scope_Override##DataChannel(DataChannel);
214#ifndef CVD_GET_CURRENT_CONTEXT
215 #define CVD_GET_CURRENT_CONTEXT(OutContext)
218#ifndef CVD_SCOPE_CONTEXT
219 #define CVD_SCOPE_CONTEXT(InContext)
222#ifndef CVD_GET_WRAPPED_CURRENT_CONTEXT
223 #define CVD_GET_WRAPPED_CURRENT_CONTEXT(OutWrappedContext)
226#ifndef CVD_SCOPED_CONTEXT_DATA_CHANNEL_OVERRIDE
227 #define CVD_SCOPED_CONTEXT_DATA_CHANNEL_OVERRIDE(DataChannel)
238#if WITH_CHAOS_VISUAL_DEBUGGER
#define ensure( InExpression)
Definition AssertionMacros.h:464
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
@ INDEX_NONE
Definition CoreMiscDefines.h:150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
#define UE_DECLARE_THREAD_SINGLETON_TLS(Type, Api)
Definition ThreadSingleton.h:35
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition IDelegateInstance.h:14
Definition SharedPointer.h:153
Definition ThreadSingleton.h:44
Definition ChaosVDDataWrapperUtils.cpp:19
Type
Definition PawnAction_Move.h:11
FORCEINLINE T * Get(const FObjectPtr &ObjectPtr)
Definition ObjectPtr.h:426
Definition ChaosVDContextProvider.h:233
FChaosVDContextWrapper()
Definition ChaosVDContextProvider.h:234
Definition NumericLimits.h:41