HDK
|
#include <lazyContainerDataSource.h>
Public Types | |
using | Thunk = std::function< HdContainerDataSourceHandle()> |
Public Member Functions | |
HD_DECLARE_DATASOURCE (HdLazyContainerDataSource) | |
HD_API TfTokenVector | GetNames () override |
HD_API HdDataSourceBaseHandle | Get (const TfToken &name) override |
HD_API | ~HdLazyContainerDataSource () |
Public Member Functions inherited from HdContainerDataSource | |
HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource) | |
Public Member Functions inherited from HdDataSourceBase | |
virtual HD_API | ~HdDataSourceBase ()=0 |
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 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.
using HdLazyContainerDataSource::Thunk = std::function<HdContainerDataSourceHandle()> |
Definition at line 41 of file lazyContainerDataSource.h.
HD_API HdLazyContainerDataSource::~HdLazyContainerDataSource | ( | ) |
|
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.
HdLazyContainerDataSource::HD_DECLARE_DATASOURCE | ( | HdLazyContainerDataSource | ) |