7#ifndef PXR_USD_AR_DEFINE_RESOLVER_H
8#define PXR_USD_AR_DEFINE_RESOLVER_H
14#include "pxr/usd/ar/api.h"
18#include "pxr/base/tf/type.h"
20PXR_NAMESPACE_OPEN_SCOPE
33#define AR_DEFINE_RESOLVER(ResolverClass, BaseClass1, ...)
35#define AR_DEFINE_RESOLVER(...) \
36TF_REGISTRY_FUNCTION(TfType) { \
37 Ar_DefineResolver<__VA_ARGS__>(); \
41class Ar_ResolverFactoryBase
46 virtual ~Ar_ResolverFactoryBase();
53class Ar_ResolverFactory
54 :
public Ar_ResolverFactoryBase
63template <
class Resolver,
class ...Bases>
64void Ar_DefineResolver()
67 .
template SetFactory<Ar_ResolverFactory<Resolver> >();
70PXR_NAMESPACE_CLOSE_SCOPE
Interface for the asset resolution system.
Base class of all factory types.
static TfType const & Define()
Define a TfType with the given C++ type T and C++ base types B.
A type-list of C++ base types.