FFastBuildJobProcessor

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FRunnable

FFastBuildJobProcessor

References

Module

FastbuildController

Header

/Engine/Plugins/FastBuildController/Source/Public/FastBuildJobProcessor.h

Include

#include "FastBuildJobProcessor.h"

Syntax

class FFastBuildJobProcessor : public FRunnable

Variables

Name Description

Protected variable

FThreadSafeBool

 

bForceStop

Used to abort the current processing loop

Protected variable

FThreadSafeBool

 

bIsWorkDone

Set to true when the main loop finishes

Protected variable

FProcHandle

 

BuildProcessHandle

Protected variable

uint32

 

BuildProcessID

Protected variable

FFastBuildContr...

 

ControllerModule

Protected variable

uint32

 

LastTimeKickedOffJobs

Protected variable

void *

 

PipeRead

Protected variable

void *

 

PipeWrite

Protected variable

FRunnableThread...

 

Thread

The runnable thread

Constructors

Name Description

Public function

FFastBuildJobProcessor

(
    FFastBuildControllerModule& InCont...
)

Destructors

Name Description

Public function Virtual

~FFastBuildJobProcessor()

Functions

Name Description

Protected function Const

void

 

GatherBuildResults()

Checks the file system to find any results form the submitted jobs

Public function Const

bool

 

IsWorkDone()

Used to know when this thread has finished the main loop

Protected function

void

 

MonitorFastBuildProcess()

Checks if the FastBuild process is still running properly and handles bad situations

Public function

void

 

StartThread()

Creates the threads and starts the main loop

Protected function

void

 

SubmitPendingJobs()

Takes all tasks from the queue and creates a FastBuild Script to the kick off the pending jobs

Protected function Const

void

 

WriteScriptFileToDisk

(
    const TArray< FTask* >& Pendi...,
    const FString& ScriptFilename,
    const FString& WorkerName
)

Overridden from FRunnable

Name Description

Public function Virtual

uint32

 

Run()

Main loop

Public function Virtual

void

 

Stop()

Aborts the main loop as soon as possible