HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GusdUSD_DataCache Class Reference

#include <USD_DataCache.h>

+ Inheritance diagram for GusdUSD_DataCache:

Public Member Functions

 GusdUSD_DataCache (GusdStageCache &cache)
 
 GusdUSD_DataCache ()
 
virtual ~GusdUSD_DataCache ()
 
virtual void Clear ()
 Clear all caches. More...
 
virtual int64 Clear (const UT_StringSet &stagePaths)
 Clear caches for a set of stages by path. More...
 

Static Public Member Functions

static bool ShouldClearPrim (const UsdPrim &prim, const UT_StringSet &stagesToClear)
 

Protected Attributes

GusdStageCache_stageCache
 

Detailed Description

Definition at line 44 of file USD_DataCache.h.

Constructor & Destructor Documentation

GusdUSD_DataCache::GusdUSD_DataCache ( GusdStageCache cache)
GusdUSD_DataCache::GusdUSD_DataCache ( )
virtual GusdUSD_DataCache::~GusdUSD_DataCache ( )
virtual

Member Function Documentation

virtual void GusdUSD_DataCache::Clear ( )
inlinevirtual

Clear all caches.

Reimplemented in GusdUSD_XformCache, GusdBoundsCache, GusdUSD_VisCache, and GusdGT_PrimCache.

Definition at line 53 of file USD_DataCache.h.

virtual int64 GusdUSD_DataCache::Clear ( const UT_StringSet stagePaths)
inlinevirtual

Clear caches for a set of stages by path.

Reimplemented in GusdUSD_XformCache, GusdBoundsCache, GusdUSD_VisCache, and GusdGT_PrimCache.

Definition at line 56 of file USD_DataCache.h.

static bool GusdUSD_DataCache::ShouldClearPrim ( const UsdPrim prim,
const UT_StringSet stagesToClear 
)
static

Helper for implementations to decide if a cache entry corresponding to prim should be discarded.

Member Data Documentation

GusdStageCache& GusdUSD_DataCache::_stageCache
protected

Definition at line 66 of file USD_DataCache.h.


The documentation for this class was generated from the following file: