FMagicLeapRunnable

Windows
MacOS
Linux

Inheritance Hierarchy

FRunnable

FMagicLeapRunnable

References

Module

MagicLeap

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/MagicLeapRunnable.h

Include

#include "MagicLeapRunnable.h"

Syntax

template<class TTaskType>
class FMagicLeapRunnable : public FRunnable

Variables

Name Description

Protected variable

MagicLeap::IApp...

 

AppEventHandler

Internal thread this instance is running on

Protected variable

FThreadSafeBool

 

bPaused

Protected variable

FThreadSafeBool

 

bShuttingDown

Protected variable

TQueue< TTaskTy...

 

CompletedTasks

Protected variable

TTaskType

 

CurrentTask

Protected variable

TQueue< TTaskTy...

 

IncomingTasks

Protected variable

FString

 

Name

Protected variable

FEvent *

 

Semaphore

Protected variable

FThreadSafeCoun...

 

StopTaskCounter

Protected variable

FRunnableThread...

 

Thread

Protected variable

EThreadPriority

 

ThreadPriority

Constructors

Name Description

Public function

FMagicLeapRunnable

(
    const TArray< EMagicLeapPrivilege >...,
    const FString& InName,
    EThreadPriority InThreadPriority
)

Destructors

Name Description

Public function Virtual

~FMagicLeapRunnable()

Functions

Name Description

Protected function

void

 

CancelIncomingTasks()

Public function Const

bool

 

IsRunning()

Public function

void

 

OnAppPause()

Public function

void

 

OnAppResume()

Public function

void

 

OnAppShutdown()

Public function

void

 

OnAppStart()

Protected function Virtual

void

 

Pause()

Protected function

bool

 

ProcessCurrentTask()

Public function

void

 

PushCompletedTask

(
    TTaskType InTask
)

Public function

void

 

PushNewTask

(
    const TTaskType& InTask
)

Protected function Virtual

void

 

Resume()

Public function Virtual

void

 

Start()

Public function

bool

 

TryGetCompletedTask

(
    TTaskType& OutCompletedTask
)

Overridden from FRunnable

Name Description

Public function Virtual

uint32

 

Run()

Runs the runnable object.

Public function Virtual

void

 

Stop()

Stops the runnable object.

This is called if a thread is requested to terminate early.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss