UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TLocalWorkQueue< TaskType > Class Template Reference

#include <LocalWorkQueue.h>

Public Member Functions

 TLocalWorkQueue (TaskType *InitialWork, LowLevelTasks::ETaskPriority InPriority=LowLevelTasks::ETaskPriority::Count)
 
void AddTask (TaskType *NewWork)
 
void AddWorkers (uint16 NumWorkers)
 
void Run (TFunctionRef< void(TaskType *)> InDoWork)
 

Constructor & Destructor Documentation

◆ TLocalWorkQueue()

template<typename TaskType >
TLocalWorkQueue< TaskType >::TLocalWorkQueue ( TaskType *  InitialWork,
LowLevelTasks::ETaskPriority  InPriority = LowLevelTasks::ETaskPriority::Count 
)
inline

Member Function Documentation

◆ AddTask()

template<typename TaskType >
void TLocalWorkQueue< TaskType >::AddTask ( TaskType *  NewWork)
inline

◆ AddWorkers()

template<typename TaskType >
void TLocalWorkQueue< TaskType >::AddWorkers ( uint16  NumWorkers)
inline

◆ Run()

template<typename TaskType >
void TLocalWorkQueue< TaskType >::Run ( TFunctionRef< void(TaskType *)>  InDoWork)
inline

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