Navigation
API > API/Plugins > API/Plugins/ElectraBase > API/Plugins/ElectraBase/Core
Inheritance Hierarchy
- TMediaNoncopyable
- FRunnable
- FMediaRunnable
References
| Module | ElectraBase |
| Header | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/Core/MediaThreads.h |
| Include | #include "Core/MediaThreads.h" |
Syntax
class FMediaRunnable :
private TMediaNoncopyable< FMediaRunnable > ,
public FRunnable
Constructors
No constructors are accessible with public or protected access.
Destructors
No destructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| EThreadPriority | ChangePriority
(
EThreadPriority NewPriority |
Changes the priority of the thread. | |
| FMediaRunnable * | Create
(
int32 CoreAffinityMask, |
Creates a new thread. | |
| void | Destroy
(
FMediaRunnable* Thread |
||
| void | EnqueueAsyncTask
(
TFunction< void()>&& InFunctionToExecuteOnAsyncThread |
||
| EThreadPriority | PriorityGet () |
||
| void | SetDoneSignal
(
FMediaEvent* DoneSignal |
Sets a 'done' signal to signal when the thread is being destroyed. | |
| void | Give a new name to the thread. | ||
| void | Shutdown () |
||
| void | SleepMicroseconds
(
uint32 Microseconds |
||
| void | SleepMilliseconds
(
uint32 Milliseconds |
||
| void | SleepSeconds
(
uint32 Seconds |
||
| uint32 | StackSizeGet () |
||
| uint32 | |||
| void | Start
(
FStartDelegate Entry, |
Creates and starts the thread with the current settings. | |
| void | Startup () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Param | Common thread configuration parameters. |
Typedefs
| Name | Description |
|---|---|
| FStartDelegate |