TStorage

Object pool storage.

Windows
MacOS
Linux

References

Module

ElectraBase

Header

/Engine/Plugins/Media/ElectraUtil/Source/ElectraBase/Public/MediaDecoderOutput.h

Include

#include "MediaDecoderOutput.h"

Syntax

class TStorage

Remarks

Object pool storage.

Constructors

Name Description

Public function

TStorage

(
    ObjectFactory* InObjectFactory...
)

Destructors

Name Description

Public function

~TStorage()

Destructor.

Functions

Name Description

Public function

ObjectType &...

 

Acquire()

Acquire an object from the pool.

Public function Const

int32

 

Num()

Get the number of objects stored.

Public function

void

 

PrepareForDecoderShutdown()

Public function

void

 

Release

(
    ObjectType* Object
)

Return the given object to the pool.

Public function

void

 

Reserve

(
    uint32 NumObjects
)

Reserve the specified number of objects.

Public function

void

 

Tick()

Regular tick call

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss