cesium-native  0.41.0
IDepotOwningAsset.h
1 #pragma once
2 
3 namespace CesiumUtility {
4 
15 template <typename TAssetType> class IDepotOwningAsset {
16 public:
17  virtual ~IDepotOwningAsset() {}
18 
27  virtual void
28  markDeletionCandidate(const TAssetType& asset, bool threadOwnsDepotLock) = 0;
29 
39  const TAssetType& asset,
40  bool threadOwnsDepotLock) = 0;
41 };
42 
43 } // namespace CesiumUtility
An interface representing the depot that owns a SharedAsset. This interface is an implementation deta...
virtual void unmarkDeletionCandidate(const TAssetType &asset, bool threadOwnsDepotLock)=0
Unmarks the given asset as a candidate for deletion. Should only be called by SharedAsset....
virtual void markDeletionCandidate(const TAssetType &asset, bool threadOwnsDepotLock)=0
Marks the given asset as a candidate for deletion. Should only be called by SharedAsset....
Utility classes for Cesium.