Files
UnrealEngineUWP/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheModule.h
bryan sefcik de1956f47b Ran IWYU on Public headers under Engine/Source/Developer/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21064294 by bryan.sefcik
#jira
#preflight 62d5c2111062f2e63015e598

#ROBOMERGE-OWNER: bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21155249 via CL 21158121 via CL 21161259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182053 by bryan sefcik in ue5-main branch]
2022-07-20 12:03:45 -04:00

29 lines
908 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Modules/ModuleInterface.h"
class FDerivedDataCacheInterface;
/**
* Module for the Derived Data Cache and Derived Data Build.
*/
class IDerivedDataCacheModule : public IModuleInterface
{
public:
/** Return the DDC interface **/
UE_DEPRECATED(4.27, "GetDDC has been replaced by CreateOrGetCache.")
virtual FDerivedDataCacheInterface& GetDDC() = 0;
/**
* Returns the cache, which is created by the first call to this function.
*
* This always returns a pointer to a valid cache, but that pointer becomes null when the module
* shuts down and destroys the cache. This extra level of indirection allows a caller to observe
* the destruction of the cache without polling this function or monitoring the module lifetime.
*/
virtual FDerivedDataCacheInterface* const* CreateOrGetCache() = 0;
};