UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BuildPatchServices::FBuildInstallerSharedContext Class Reference

#include <InstallerSharedContext.h>

+ Inheritance diagram for BuildPatchServices::FBuildInstallerSharedContext:

Public Member Functions

 FBuildInstallerSharedContext (const TCHAR *InDebugName)
 
 ~FBuildInstallerSharedContext ()
 
virtual IBuildInstallerThreadCreateThread () override
 
virtual void ReleaseThread (IBuildInstallerThread *Thread) override
 
virtual void PreallocateThreads (uint32 NumThreads) override
 
virtual uint32 NumThreadsPerInstaller (bool bUseChunkDBs, bool bHasInstallSource) const override
 
- Public Member Functions inherited from IBuildInstallerSharedContext
virtual ~IBuildInstallerSharedContext ()
 

Detailed Description

The concrete implementation of IBuildInstallerSharedContext

Constructor & Destructor Documentation

◆ FBuildInstallerSharedContext()

BuildPatchServices::FBuildInstallerSharedContext::FBuildInstallerSharedContext ( const TCHAR InDebugName)
inline

◆ ~FBuildInstallerSharedContext()

BuildPatchServices::FBuildInstallerSharedContext::~FBuildInstallerSharedContext ( )

Member Function Documentation

◆ CreateThread()

IBuildInstallerThread * BuildPatchServices::FBuildInstallerSharedContext::CreateThread ( )
overridevirtual

Return an existing free thread or allocate one.

Returns
an IBuildInstallerThread

Implements IBuildInstallerSharedContext.

◆ NumThreadsPerInstaller()

uint32 BuildPatchServices::FBuildInstallerSharedContext::NumThreadsPerInstaller ( bool  bUseChunkDBs,
bool  bHasInstallSource 
) const
overridevirtual
Returns
The number of threads required per installer

Implements IBuildInstallerSharedContext.

◆ PreallocateThreads()

void BuildPatchServices::FBuildInstallerSharedContext::PreallocateThreads ( uint32  NumThreads)
overridevirtual

Preallocate thread free list with NumThreads. If more than NumThreads are required, a warning will be logged.

Implements IBuildInstallerSharedContext.

◆ ReleaseThread()

void BuildPatchServices::FBuildInstallerSharedContext::ReleaseThread ( IBuildInstallerThread Thread)
overridevirtual

Relinquish the thread and add to the free list. It should not be used again after this.

Implements IBuildInstallerSharedContext.


The documentation for this class was generated from the following files: