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

#include <dataSourceLegacyPrim.h>

+ Inheritance diagram for HdDataSourceLegacyPrim:

Public Member Functions

 HD_DECLARE_DATASOURCE (HdDataSourceLegacyPrim)
 
TfTokenVector GetNames () override
 
HdDataSourceBaseHandle Get (const TfToken &name) override
 
void PrimDirtied (const HdDataSourceLocatorSet &locators)
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 
- Public Member Functions inherited from HdDataSourceBase
virtual HD_API ~HdDataSourceBase ()=0
 

Static Public Member Functions

static const
HdDataSourceLocatorSet
GetCachedLocators ()
 Return which locators PrimDirtied will respond to... More...
 
- Static Public Member Functions inherited from HdContainerDataSource
static HD_API
HdDataSourceBaseHandle 
Get (const Handle &container, const HdDataSourceLocator &locator)
 

Protected Member Functions

 HdDataSourceLegacyPrim (const SdfPath &id, const TfToken &type, HdSceneDelegate *sceneDelegate)
 

Protected Attributes

SdfPath _id
 
TfToken _type
 
HdSceneDelegate_sceneDelegate
 

Detailed Description

This is an HdContainerDataSource which represents a prim-level data source for adapting HdSceneDelegate calls into the forms defined by HdSchemas during emulation of legacy scene delegates.

Definition at line 51 of file dataSourceLegacyPrim.h.

Constructor & Destructor Documentation

HdDataSourceLegacyPrim::HdDataSourceLegacyPrim ( const SdfPath id,
const TfToken type,
HdSceneDelegate sceneDelegate 
)
protected

Member Function Documentation

HdDataSourceBaseHandle HdDataSourceLegacyPrim::Get ( const TfToken name)
overridevirtual

Returns the child datasource of the given name. This call is expected to be threadsafe.

Implements HdContainerDataSource.

static const HdDataSourceLocatorSet& HdDataSourceLegacyPrim::GetCachedLocators ( )
static

Return which locators PrimDirtied will respond to...

TfTokenVector HdDataSourceLegacyPrim::GetNames ( )
overridevirtual

Returns the list of names for which Get(...) is expected to return a non-null value. This call is expected to be threadsafe.

Implements HdContainerDataSource.

HdDataSourceLegacyPrim::HD_DECLARE_DATASOURCE ( HdDataSourceLegacyPrim  )
void HdDataSourceLegacyPrim::PrimDirtied ( const HdDataSourceLocatorSet locators)

This clears internal cached values and is currently called only by HdLegacyPrimSceneIndex in response to its own DirtyPrims method

Member Data Documentation

SdfPath HdDataSourceLegacyPrim::_id
protected

Definition at line 97 of file dataSourceLegacyPrim.h.

HdSceneDelegate* HdDataSourceLegacyPrim::_sceneDelegate
protected

Definition at line 99 of file dataSourceLegacyPrim.h.

TfToken HdDataSourceLegacyPrim::_type
protected

Definition at line 98 of file dataSourceLegacyPrim.h.


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