You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- TraceServices: Added IModuleService::GetAvailableModulesEx(..), IModuleService::GetEnabledModules(..) and IModule::ShouldBeEnabledByDefault(). - TraceServices: Fixed analysis to use only the enabled modules (to correctly use the state set by ShouldBeEnabledByDefault + SetModuleEnabled API). - SessionInfo: Added "!" in front of name for modules that are registered, but not enabled. - Changed FTraceServicesModule::StartupModule() to allow registration of all modules. - Changed the Memory, Tasks and LoadTimeProfiler modules to report that should be disabled by default in editor. - Fixed Insights unit tests (UE-116865). Re-enabled the LoadTimeProfiler module for unit tests even if it is disabled by default for editor. #jira UE-116865 #rb Catalin.Dragoiu [CL 16587640 by ionut matasaru in ue5-main branch]
33 lines
781 B
C++
33 lines
781 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "TraceServices/ModuleService.h"
|
|
#include "UObject/NameTypes.h"
|
|
|
|
namespace TraceServices
|
|
{
|
|
class FTasksModule : public IModule
|
|
{
|
|
public:
|
|
virtual void GetModuleInfo(FModuleInfo& OutModuleInfo) override;
|
|
virtual void OnAnalysisBegin(IAnalysisSession& Session) override;
|
|
virtual void GetLoggers(TArray<const TCHAR*>& OutLoggers) override
|
|
{
|
|
}
|
|
virtual const TCHAR* GetCommandLineArgument() override
|
|
{
|
|
return nullptr;
|
|
}
|
|
virtual void GenerateReports(const IAnalysisSession& Session, const TCHAR* CmdLine, const TCHAR* OutputDirectory) override
|
|
{
|
|
}
|
|
#if WITH_EDITOR
|
|
virtual bool ShouldBeEnabledByDefault() const override
|
|
{
|
|
return false;
|
|
}
|
|
#endif
|
|
};
|
|
} // namespace TraceServices
|