Files
UnrealEngine/Engine/Source/Developer/ProfilerService/Public/IProfilerServiceModule.h
2025-05-18 13:04:45 +08:00

30 lines
598 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "IProfilerServiceManager.h"
/**
* Interface for ProfilerService modules.
*/
class IProfilerServiceModule
: public IModuleInterface
{
public:
/**
* Creates a profiler service.
*
* @param Capture Specifies whether to start capturing immediately.
* @return A new profiler service.
*/
virtual TSharedPtr<IProfilerServiceManager> CreateProfilerServiceManager() = 0;
protected:
/** Virtual destructor */
virtual ~IProfilerServiceModule() { }
};