UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
CancellableAsyncAction.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
5#include "CancellableAsyncAction.generated.h"
6
7class UGameInstance;
8
14UCLASS(Abstract, BlueprintType, meta = (ExposedAsyncProxy = AsyncAction), MinimalAPI)
16{
18public:
19
21 ENGINE_API virtual void BeginDestroy() override;
22
24 UFUNCTION(BlueprintCallable, Category = "Async Action")
25 ENGINE_API virtual void Cancel();
26
28 UFUNCTION(BlueprintCallable, Category = "Async Action")
29 ENGINE_API virtual bool IsActive() const;
30
32 ENGINE_API virtual bool ShouldBroadcastDelegates() const;
33
35 ENGINE_API bool IsRegistered() const;
36
38 ENGINE_API class FTimerManager* GetTimerManager() const;
39
40};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
bool IsRegistered(FRDGBuilder &GraphBuilder, const TRefCountPtr< IPooledRenderTarget > &RenderTarget)
Definition RenderGraphUtils.h:111
Definition TimerManager.h:133
Definition BlueprintAsyncActionBase.h:20
Definition CancellableAsyncAction.h:16
Definition GameInstance.h:152
virtual COREUOBJECT_API void BeginDestroy()
Definition Obj.cpp:1071