18 #ifndef __XUSD_FindPrimsTask_h__
19 #define __XUSD_FindPrimsTask_h__
42 virtual ~XUSD_FindPrimsTaskData();
43 virtual void addToThreadData(
const UsdPrim &prim,
bool *
prune) = 0;
49 { myAllowHoudiniLayerInfo = allow; }
51 {
return myAllowHoudiniLayerInfo; }
54 bool myAllowHoudiniLayerInfo =
false;
74 class FindPrimPathsTaskThreadData
100 void gatherPrimsFromThreads(std::vector<UsdPrim> &prims);
103 class FindUsdPrimsTaskThreadData
HUSD_API void XUSDfindPrims(const UsdPrim &prim, XUSD_FindPrimsTaskData &data, const Usd_PrimFlagsPredicate &predicate, const UT_PathPattern *pattern, const XUSD_SimpleAutoCollection *autocollection)
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
#define SYS_DEPRECATED_PUSH_DISABLE()
#define SYS_DEPRECATED_POP_DISABLE()
virtual void addToThreadData(const UsdPrim &prim, bool *prune)=0
bool allowHoudiniLayerInfo() const
std::vector< class SdfPath > SdfPathVector
A vector of SdfPaths.
void setAllowHoudiniLayerInfo(bool allow)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
LeafData & operator=(const LeafData &)=delete
#define PXR_NAMESPACE_CLOSE_SCOPE