![]() |
|
A container data source lazily evaluating the given thunk to forward all calls to the container data source computed by the thunk. More...
Inheritance diagram for HdLazyContainerDataSource:Public Types | |
| using | Thunk = std::function< HdContainerDataSourceHandle()> |
Public Member Functions | |
| HD_DECLARE_DATASOURCE (HdLazyContainerDataSource) | |
| HD_API TfTokenVector | GetNames () override |
Returns the list of names for which Get(...) is expected to return a non-null value. More... | |
| HD_API HdDataSourceBaseHandle | Get (const TfToken &name) override |
| Returns the child datasource of the given name. More... | |
Public Member Functions inherited from HdContainerDataSource | |
| HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource) | |
Protected Member Functions | |
| HD_API | HdLazyContainerDataSource (const Thunk &thunk) |
Additional Inherited Members | |
Static Public Member Functions inherited from HdContainerDataSource | |
| static HD_API HdDataSourceBaseHandle | Get (const Handle &container, const HdDataSourceLocator &locator) |
A convenience function: given container, return the descendant identified by locator, which may be at any depth. More... | |
A container data source lazily evaluating the given thunk to forward all calls to the container data source computed by the thunk.
Definition at line 36 of file lazyContainerDataSource.h.
|
overridevirtual |
Returns the child datasource of the given name.
This call is expected to be threadsafe.
Implements HdContainerDataSource.
|
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.