Navigation
API > API/Runtime > API/Runtime/ChaosCore > API/Runtime/ChaosCore/TObjectPool
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ObjectType * Construct
(
ObjectType* At, |
Construct helper this specialization is called for objects that are trivially destructible as they require no tracking of their construction state | Chaos/ObjectPool.h | |
static ObjectType * Construct
(
ObjectType* At, |
Construct helper this specialization is called for objects that are not trivially destructible as they require tracking of their construction state. | Chaos/ObjectPool.h |
Construct(ObjectType *, TArgs &&...)
Description
Construct helper this specialization is called for objects that are trivially destructible as they require no tracking of their construction state
internal use only - At MUST be castable to FItem*
| Name | Construct |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/ObjectPool.h |
| Include Path | #include "Chaos/ObjectPool.h" |
template<typename ObjectType_, TTrivialDestruct< ObjectType_ > *, typename... TArgs>
static ObjectType * Construct
(
ObjectType * At,
TArgs &&... Args
)
Parameters
| Name | Remarks |
|---|---|
| At | the pointer to construct at |
| Args | ObjectType constructor args |
Construct(ObjectType *, TArgs &&...)
Description
Construct helper this specialization is called for objects that are not trivially destructible as they require tracking of their construction state.
internal use only - At MUST be castable to FItem*
| Name | Construct |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/ObjectPool.h |
| Include Path | #include "Chaos/ObjectPool.h" |
template<typename ObjectType_, TRequiresDestructor< ObjectType_ > *, typename... TArgs>
static ObjectType * Construct
(
ObjectType * At,
TArgs &&... Args
)
Parameters
| Name | Remarks |
|---|---|
| At | the pointer to construct at |
| Args | ObjectType constructor args |