Apparatus
Version 1.23
ECS data-oriented workflow for Unreal Engine.
|
The common functionality for a single iterable entry within the chain. More...
#include <CommonChain.h>
Public Member Functions | |
UChunk * | GetChunk () const |
Get the chunk of the segment (if any). | |
UBelt * | GetBelt () const |
Get the belt of the segment (if any). | |
TScriptInterface< IIterable > | GetIterable () const |
Get the sequence of the segment. | |
EApparatusStatus | Lock () const |
Lock the segment by locking its iterable. | |
EApparatusStatus | Unlock () const |
Unlock the segment by unlocking its target iterable. | |
bool | IsLocked () const |
Check if the segment is currently locked. | |
int32 | IterableNum () const |
The current number of iterable slots within the chain. | |
TSegment & | operator= (TSegment &&InSegment) |
Move-assign a segment. | |
TSegment & | operator= (const TSegment &InSegment) |
Copy-assign a segment. | |
TSegment () | |
Default constructor. | |
TSegment (UObject *const InSequence) | |
Construct a new chain segment for a sequence. | |
TSegment (TSegment &&InSegment) | |
Move-construct a new instance of segment. | |
TSegment (const TSegment &InSegment) | |
Copy-construct a new chain segment. | |
~TSegment () | |
Destroy the segment. | |
Public Attributes | |
TWeakInterfacePtr< IIterable > | Iterable = nullptr |
A chunk or a belt of this segment. | |
bool | bLocked = false |
Was the iterable locked by this segment? | |
Static Public Attributes | |
static constexpr bool | IsSolid = bSolid |
Is the segment a solid-locking one. | |
The common functionality for a single iterable entry within the chain.
bSolid | Is the segment a solid-locking one? |
|
inline |
Default constructor.
|
inline |
Construct a new chain segment for a sequence.
|
inline |
Move-construct a new instance of segment.
InSegment | A segment to move. |
|
inline |
Copy-construct a new chain segment.
InSegment | A segment to copy. |
|
inline |
Destroy the segment.
|
inline |
Get the belt of the segment (if any).
|
inline |
Get the chunk of the segment (if any).
|
inline |
Get the sequence of the segment.
|
inline |
Check if the segment is currently locked.
|
inline |
The current number of iterable slots within the chain.
|
inline |
Lock the segment by locking its iterable.
|
inline |
Copy-assign a segment.
|
inline |
Move-assign a segment.
InSegment | A segment to move. |
|
inline |
Unlock the segment by unlocking its target iterable.
|
mutable |
Was the iterable locked by this segment?
|
staticconstexpr |
Is the segment a solid-locking one.
TWeakInterfacePtr<IIterable> FCommonChain::TSegment< bSolid >::Iterable = nullptr |
A chunk or a belt of this segment.