DeviceProfileSelectionModule

DeviceProfileSelectionModule

#Overview

name: DeviceProfileSelectionModule

The value of this variable can be defined or overridden in .ini config files. 6 .ini config files referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEngine.ini:2928, section: [DeviceProfileManager]

Location: <Workspace>/Engine/Config/Android/AndroidEngine.ini:35, section: [DeviceProfileManager]

Location: <Workspace>/Engine/Config/IOS/BaseIOSEngine.ini:60, section: [DeviceProfileManager]

Location: <Workspace>/Engine/Config/Linux/LinuxEngine.ini:22, section: [DeviceProfileManager]

Location: <Workspace>/Engine/Config/LinuxArm64/LinuxArm64Engine.ini:23, section: [DeviceProfileManager]

Location: <Workspace>/Engine/Config/Windows/BaseWindowsEngine.ini:8, section: [DeviceProfileManager]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/DeviceProfiles/DeviceProfileManager.cpp:1230

Scope (from outer to inner):

file
function     IDeviceProfileSelectorModule* UDeviceProfileManager::GetDeviceProfileSelectorModule

Source code excerpt:

IDeviceProfileSelectorModule* UDeviceProfileManager::GetDeviceProfileSelectorModule()
{
	FString DeviceProfileSelectionModule;
	if (GConfig->GetString(TEXT("DeviceProfileManager"), TEXT("DeviceProfileSelectionModule"), DeviceProfileSelectionModule, GEngineIni))
	{
		if (IDeviceProfileSelectorModule* DPSelectorModule = FModuleManager::LoadModulePtr<IDeviceProfileSelectorModule>(*DeviceProfileSelectionModule))
		{
			return DPSelectorModule;
		}
	}
	return nullptr;
}

#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/UnrealEngine.cpp:7534

Scope (from outer to inner):

file
function     bool UEngine::HandleMemReportDeferredCommand

Source code excerpt:

		// Attempt to get the specific device name from the runtime device profile selector
		FString DeviceProfile = TEXT("None");
		FString DeviceProfileSelectionModule;
		if (GConfig->GetString(TEXT("DeviceProfileManager"), TEXT("DeviceProfileSelectionModule"), DeviceProfileSelectionModule, GEngineIni))
		{
			if (IDeviceProfileSelectorModule* DPSelectorModule = FModuleManager::LoadModulePtr<IDeviceProfileSelectorModule>(*DeviceProfileSelectionModule))
			{
				DeviceName = DPSelectorModule->GetRuntimeDeviceProfileName();
			}
		}

		ReportAr->Logf(TEXT("Changelist: %d"), ChangelistNumber);