Navigation
API > API/Runtime > API/Runtime/Core
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.
| Name | FEmbeddedKeepAwake |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/EmbeddedCommunication.h |
| Include Path | #include "Misc/EmbeddedCommunication.h" |
Syntax
class FEmbeddedKeepAwake
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEmbeddedKeepAwake
(
const FEmbeddedKeepAwake& Other |
Misc/EmbeddedCommunication.h | ||
FEmbeddedKeepAwake
(
FEmbeddedKeepAwake&& Other |
Misc/EmbeddedCommunication.h | ||
FEmbeddedKeepAwake
(
FName InRequester, |
Tell UE to stay awake (or allow it to sleep when nothing to do). | Misc/EmbeddedCommunication.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FEmbeddedKeepAwake() |
Misc/EmbeddedCommunication.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsValid | bool | Misc/EmbeddedCommunication.h | ||
| bNeedsRendering | bool | Misc/EmbeddedCommunication.h | ||
| Requester | FName | Misc/EmbeddedCommunication.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetNeedsRendering() |
Misc/EmbeddedCommunication.h | ||
FName GetRequester() |
Misc/EmbeddedCommunication.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEmbeddedKeepAwake & operator=
(
const FEmbeddedKeepAwake& Other |
Misc/EmbeddedCommunication.h | ||
FEmbeddedKeepAwake & operator=
(
FEmbeddedKeepAwake&& Other |
Misc/EmbeddedCommunication.h |