|
HDK
|
#include <stageData.h>
Classes | |
| class | ListenerBase |
Public Types | |
| using | ChangedPathSet = tbb::concurrent_unordered_set< SdfPath, TfHash > |
Public Member Functions | |
| ESFUSD_API | ~EsfUsdStageData () |
| ESFUSD_API void | Unregister (const ListenerBase *listener) |
Static Public Member Functions | |
| static ESFUSD_API std::shared_ptr < EsfUsdStageData > | RegisterStage (const UsdStageConstPtr &stage, const ListenerBase *listener) |
| static ESFUSD_API EsfUsdStageData & | GetStageData (const UsdStageConstPtr &stage) |
| static ESFUSD_API const SdfPathVector & | GetOutgoingConnections (const UsdStageConstPtr &stage, const SdfPath &attrPath) |
| static ESFUSD_API SdfPathVector | GetIncomingConnections (const UsdStageConstPtr &stage, const SdfPath &targetPath) |
Class that holds data that is cached per-stage.
Definition at line 54 of file stageData.h.
| using EsfUsdStageData::ChangedPathSet = tbb::concurrent_unordered_set<SdfPath, TfHash> |
A concurrent set of paths, used to indicate the set of targets for which incoming connections have changed.
Definition at line 63 of file stageData.h.
| ESFUSD_API EsfUsdStageData::~EsfUsdStageData | ( | ) |
|
static |
Returns the paths of all attributes that own connections that target the object at targetPath.
|
static |
Returns the paths of all objects that are targets of connections owned by the attribute at attrPath.
|
static |
Get the cached stage data for stage.
stage by calling RegisterStage and must still be holding the strong reference to the stage data while calling this method and using the returned reference.
|
static |
Registers stage as a stage for which cached data should be held, returning a strong reference the client must hold until the cached data is no longer needed.
listener will be notified of scene changes.
| ESFUSD_API void EsfUsdStageData::Unregister | ( | const ListenerBase * | listener | ) |
Notifies that listener no longer needs to be informed of changes.