FShareableQuartzCommandQueue

Class that can be shared between Game Thread and any other thread to queue commands (ONLY the Game Thread may EXECUTE the commands in the queue, enforced by UQuartzClockHandle* argument in the TFunctions)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/QuartzSubscription.h

Include

#include "Sound/QuartzSubscription.h"

Syntax

class FShareableQuartzCommandQueue

Remarks

Class that can be shared between Game Thread and any other thread to queue commands (ONLY the Game Thread may EXECUTE the commands in the queue, enforced by UQuartzClockHandle* argument in the TFunctions)

Functions

Name Description

Public function

bool

 

IsQueueEmpty()

Public function

void

 

PushEvent

(
    const FQuartzQuantizedCommandDelega...
)

(add more PushEvent overloads for other event types)

Public function

void

 

PushEvent

(
    const FQuartzMetronomeDelegateData ...
)

(add more PushEvent overloads for other event types)

Public function

void

 

StopTakingCommands()

Called when the game object owner is shutting down

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