![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <TaskSyncManager.h>
Inheritance diagram for UE::Tick::FActiveSyncPoint:Friends | |
| class | FTaskSyncManager |
| struct | FActiveSyncWorkHandle |
Additional Inherited Members | |
Protected Member Functions inherited from TSharedFromThis< FActiveSyncPoint, ESPMode::ThreadSafe > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Static Protected Member Functions inherited from TSharedFromThis< FActiveSyncPoint, ESPMode::ThreadSafe > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
Struct defining an active sync point inside a specific world context, implemented as a tick function that may not be registered
| FActiveSyncPoint::FActiveSyncPoint | ( | ) |
| bool FActiveSyncPoint::AbandonWork | ( | FActiveSyncWorkHandle & | Handle | ) |
Abandons requested or reserved work, which could trigger other work to start
|
inline |
Returns the registered data
|
inline |
Returns current status
|
inline |
Returns the sync point id that created this, including the current batch context
|
inline |
Returns the world context
|
inline |
True if this is a special work function that is never registered
| bool FActiveSyncPoint::QueueWorkFunction | ( | FActiveSyncWorkHandle & | Handle, |
| FWorkFunction && | WorkFunction | ||
| ) |
Adds an arbitrary work function to the queue of work to execute later, this will fail if work has already been requested or reserved
| FActiveSyncWorkHandle FActiveSyncPoint::RegisterWorkHandle | ( | ) |
Registers a new work handle that can be used to reserve and request work
| bool FActiveSyncPoint::RequestWork | ( | FActiveSyncWorkHandle & | Handle, |
| FTickFunction * | WorkFunction, | ||
| ESyncWorkRepetition | Repeat | ||
| ) |
Creates a new item of work bound to a specific function
| bool FActiveSyncPoint::ReserveFutureWork | ( | FActiveSyncWorkHandle & | Handle, |
| ESyncWorkRepetition | Repeat | ||
| ) |
Uses handle to reserve work for later, that can be requested when ready
| bool FActiveSyncPoint::ResetWorkHandle | ( | FActiveSyncWorkHandle & | Handle | ) |
Resets a handle
| bool FActiveSyncPoint::SendQueuedWork | ( | FActiveSyncWorkHandle & | Handle, |
| FGraphEventRef * | TaskToExtend = nullptr |
||
| ) |
Sends any previously queued work to be executed as part of the sync point. Will call DontCompleteUntil on passed in TaskToExtend if valid
|
friend |
|
friend |