12 #ifndef hifi_SpatialParentFinder_h
13 #define hifi_SpatialParentFinder_h
17 #include "DependencyManager.h"
19 class SpatiallyNestable;
20 using SpatiallyNestableWeakPointer = std::weak_ptr<SpatiallyNestable>;
21 using SpatiallyNestablePointer = std::shared_ptr<SpatiallyNestable>;
22 class SpatialParentTree {
24 virtual SpatiallyNestablePointer findByID(
const QUuid&
id)
const = 0;
26 class SpatialParentFinder :
public Dependency {
35 SpatialParentFinder() { }
36 virtual ~SpatialParentFinder() { }
38 virtual SpatiallyNestableWeakPointer find(QUuid parentID,
bool& success, SpatialParentTree* entityTree =
nullptr)
const = 0;