|
Apparatus
Version 1.3.0
ECS data-driven workflow for Unreal Engine.
|
An iterable belt sequence holder. More...
#include <BeltChain.h>
Public Types | |
| enum | { InvalidCursorId = -1 , DefaultCursorId = 0 , InvalidSegmentIndex = -1 } |
Public Member Functions | |
| EApparatusStatus | Reset () |
| Unchain the belts and reset the state completely. More... | |
| template<typename TAllocator > | |
| EApparatusStatus | Enchain (const FFilter &InFilter, const TArray< UBelt *, TAllocator > &InBelts) |
| Set to chain a set of chunks with a filter. More... | |
| int32 | FindSegment (const int32 InSlotIndex) const |
| Find a certain chain segment by a chain slot index. More... | |
| bool | Begin (const int32 CursorId=DefaultCursorId) const |
| Begin iterating the chain. More... | |
| bool | Advance (const int32 CursorId=DefaultCursorId) const |
| Advance iterating the chain to the next index. More... | |
| bool | BeginOrAdvance (const int32 CursorId=DefaultCursorId) const |
| Begin or advance iterating the chain. More... | |
| FBeltChain & | operator= (FBeltChain &&InChain) |
| Move a chain. More... | |
| FBeltChain & | operator= (const FBeltChain &InChain) |
| Set a chain equal to another chain. More... | |
| FSubjectHandle | GetSubject (const int32 CursorId=DefaultCursorId) const |
| Get the subject of the current iteration. More... | |
| UDetail * | GetDetailAt (const int32 CursorId, const int32 DetailIndex) const |
| Get the detail on the current iteration at a certain index. More... | |
| UDetail * | GetDetailAt (const int32 DetailIndex) const |
| Get the detail on the current iteration at a certain index. More... | |
| TScriptInterface< ISubjective > | GetSubjective (const int32 CursorId=DefaultCursorId) const |
| Get the subjective of the current iteration (if any). More... | |
| FBeltChain () | |
| The default constructor leaving the chain uninitialized. More... | |
| FBeltChain (FBeltChain &InChain) | |
| Construct a new chain as a copy of another one. More... | |
| bool | IsIterating () const |
| Check if the chain currently being iterated by some cursor. More... | |
An iterable belt sequence holder.
| anonymous enum |
|
inline |
The default constructor leaving the chain uninitialized.
|
inline |
Construct a new chain as a copy of another one.
| InChain | A chain to copy. |
|
inline |
Advance iterating the chain to the next index.
|
inline |
Begin iterating the chain.
|
inline |
Begin or advance iterating the chain.
false if the iteration should be ended.
|
inline |
Set to chain a set of chunks with a filter.
| InFilter | The target filter to enchain with. |
| InBelts | The chunks to enchain. |
|
inline |
Find a certain chain segment by a chain slot index.
|
inline |
Get the detail on the current iteration at a certain index.
|
inline |
Get the detail on the current iteration at a certain index.
|
inline |
Get the subject of the current iteration.
|
inline |
Get the subjective of the current iteration (if any).
nullptr, if there is none.
|
inline |
Check if the chain currently being iterated by some cursor.
|
inline |
Set a chain equal to another chain.
|
inline |
Move a chain.
|
inline |
Unchain the belts and reset the state completely.