Navigation
API > API/Plugins > API/Plugins/ElectraBase
| Name | FMediaRunnable |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/Core/MediaThreads.h |
| Include Path | #include "Core/MediaThreads.h" |
Syntax
class FMediaRunnable :
private TMediaNoncopyable< FMediaRunnable > ,
public FRunnable
Inheritance Hierarchy
- TMediaNoncopyable → FMediaRunnable
- FRunnable → FMediaRunnable
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMediaRunnable() |
Thread constructor | Core/MediaThreads.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FMediaRunnable() |
Thread destructor. | Core/MediaThreads.h |
Structs
| Name | Remarks |
|---|---|
| Param | Common thread configuration parameters. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FStartDelegate | TBaseDelegate_NoParams< void > | Core/MediaThreads.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsStarted | bool | Core/MediaThreads.h | ||
| DoneSignal | FMediaEvent * | Core/MediaThreads.h | ||
| EntryFunction | FStartDelegate | Core/MediaThreads.h | ||
| InitialCoreAffinity | uint64 | Core/MediaThreads.h | ||
| MediaThreadRunnable | FRunnableThread * | Core/MediaThreads.h | ||
| SignalRunning | FEvent * | Core/MediaThreads.h | ||
| StackSize | uint32 | Core/MediaThreads.h | ||
| StateAccessMutex | FCriticalSection | Core/MediaThreads.h | ||
| ThreadName | FString | Core/MediaThreads.h | ||
| ThreadPriority | EThreadPriority | Core/MediaThreads.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EThreadPriority ChangePriority
(
EThreadPriority NewPriority |
Changes the priority of the thread. | Core/MediaThreads.h | |
EThreadPriority PriorityGet() |
Core/MediaThreads.h | ||
void SetDoneSignal
(
FMediaEvent* DoneSignal |
Sets a 'done' signal to signal when the thread is being destroyed. | Core/MediaThreads.h | |
void SetName
(
const FString& InThreadName |
Give a new name to the thread. | Core/MediaThreads.h | |
uint32 StackSizeGet() |
Core/MediaThreads.h | ||
void Start
(
FStartDelegate Entry, |
Creates and starts the thread with the current settings. | Core/MediaThreads.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FMediaRunnable * Create
(
int32 CoreAffinityMask, |
Creates a new thread. | Core/MediaThreads.h | |
static void Destroy
(
FMediaRunnable* Thread |
Core/MediaThreads.h | ||
static void EnqueueAsyncTask
(
TFunction< void()>&& InFunctionToExecuteOnAsyncThread |
Core/MediaThreads.h | ||
static void Shutdown() |
Core/MediaThreads.h | ||
static void SleepMicroseconds
(
uint32 Microseconds |
Core/MediaThreads.h | ||
static void SleepMilliseconds
(
uint32 Milliseconds |
Core/MediaThreads.h | ||
static void SleepSeconds
(
uint32 Seconds |
Core/MediaThreads.h | ||
static uint32 StackSizeGetDefault() |
Core/MediaThreads.h | ||
static void Startup() |
Core/MediaThreads.h |