Navigation
API > API/Plugins > API/Plugins/ElectraBase > API/Plugins/ElectraBase/Core
Inheritance Hierarchy
- FMediaLockCriticalSection
- TMediaNoncopyable
- TMediaQueueDynamic
- TMediaQueueDynamicNoLock
References
| Module | ElectraBase |
| Header | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/Core/MediaQueue.h |
| Include | #include "Core/MediaQueue.h" |
Syntax
template<typename T, typename L, typename M>
class TMediaQueueDynamic :
public FMediaLockCriticalSection ,
private TMediaNoncopyable< TMediaQueueDynamic< T > >
Remarks
Dynamically sized queue.
Will grow when capacity is reached. Therefore a lock is REQUIRED! Never use this with a null-mutex unless you know what you're doing.
Variables
| Type | Name | Description | |
|---|---|---|---|
| T * | Elements | ||
| int32 | IdxIn | ||
| int32 | IdxOut | ||
| int32 | IncrementBy | ||
| int32 | MaxNum | ||
| int32 | NumIn |
Constructors
| Type | Name | Description | |
|---|---|---|---|
TMediaQueueDynamic
(
int32 initialCapacity, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | Capacity () |
||
| void | Clear () |
||
| T | Front () |
||
| int32 | Increment () |
||
| bool | IsEmpty () |
||
| bool | IsFull () |
||
| int32 | Num () |
||
| T | Pop () |
||
| void | Push
(
const T& element |
||
| void | PushFront
(
const T& element |
||
| void | |||
| void | SetIncrement
(
int32 newIncrement |
Typedefs
| Name | Description |
|---|---|
| ElementType | |
| MyType |