Navigation
API > API/Plugins > API/Plugins/ElectraBase > API/Plugins/ElectraBase/TDecoderOutputObjectPool
This class defines the actual pool.
| Name | TObjectPool |
| Type | class |
| Header File | /Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/MediaDecoderOutput.h |
| Include Path | #include "MediaDecoderOutput.h" |
Syntax
template<typename T>
class TObjectPool : public FTickableGameObject
Inheritance Hierarchy
- FTickableObjectBase → FTickableGameObject → TDecoderOutputObjectPool::TObjectPool
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TObjectPool() |
MediaDecoderOutput.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TObjectPool() |
MediaDecoderOutput.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Available | TArray< ObjectType * > | List of available objects. | MediaDecoderOutput.h | |
| bIsPendingDestruction | TAtomic< bool > | Flag indicating whether or not the pool is pending destruction. | MediaDecoderOutput.h | |
| CriticalSection | FCriticalSection | Critical section for synchronizing access to the free list. | MediaDecoderOutput.h | |
| InFlight | TArray< ObjectType * > | List of in-flight objects. | MediaDecoderOutput.h | |
| Returned | TArray< ObjectType * > | List of returned objects, waiting for reuseability. | MediaDecoderOutput.h | |
| Self | TSharedPtr< TObjectPool< T >, ESPMode::ThreadSafe > | Pointer to self, which gets set when pool destruction is pending to lock it until complete. | MediaDecoderOutput.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ObjectType * Acquire() |
Acquire an object from the pool. | MediaDecoderOutput.h | |
TStatId GetStatId() |
MediaDecoderOutput.h | ||
bool IsTickable() |
MediaDecoderOutput.h | ||
bool IsTickableInEditor() |
MediaDecoderOutput.h | ||
bool IsTickableWhenPaused() |
MediaDecoderOutput.h | ||
void Release
(
ObjectType* InObject |
Return the given object to the pool. | MediaDecoderOutput.h | |
void SetPendingDestruction
(
TSharedPtr< TObjectPool< T >, ESPMode::ThreadSafe > InSelf |
Called by the enclosing pool when it goes out of scope to let us handle cleanup of in-flight objects. | MediaDecoderOutput.h | |
void Tick
(
float |
MediaDecoderOutput.h |