FEmbeddedKeepAwake

RAII for keep awake functionality This may seem a bit over engineered, but it needs to have move semantics so that any aggregate that includes it doesn't lose move semantics.

Windows
MacOS
Linux

Inheritance Hierarchy

FEmbeddedKeepAwake

FInstallBundleManagerKeepAwake

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/EmbeddedCommunication.h

Include

#include "Misc/EmbeddedCommunication.h"

Syntax

class FEmbeddedKeepAwake

Remarks

RAII for keep awake functionality This may seem a bit over engineered, but it needs to have move semantics so that any aggregate that includes it doesn't lose move semantics.

Constructors

Name Description

Public function

FEmbeddedKeepAwake

(
    const FEmbeddedKeepAwake& Other
)

Public function

FEmbeddedKeepAwake

(
    FEmbeddedKeepAwake&& Other
)

Public function

FEmbeddedKeepAwake

(
    FName InRequester,
    bool bInNeedsRendering
)

Tell UE4 to stay awake (or allow it to sleep when nothing to do).

Destructors

Name Description

Public function

~FEmbeddedKeepAwake()

Functions

Operators

Name Description

Public function

FEmbeddedKee...

 

operator=

(
    const FEmbeddedKeepAwake& Other
)

Public function

FEmbeddedKee...

 

operator=

(
    FEmbeddedKeepAwake&& Other
)

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