24 #ifndef PXR_BASE_PLUG_REGISTRY_H
25 #define PXR_BASE_PLUG_REGISTRY_H
47 class Plug_RegistrationMetadata;
391 template <
class Base>
402 static std::vector<TfType>
421 template <
class Base>
465 _RegisterPlugins(
const std::vector<std::string>& pathsToPlugInfo,
466 bool pathsAreOrdered);
468 template <
class ConcurrentVector>
470 void _RegisterPlugin(
const Plug_RegistrationMetadata&,
471 ConcurrentVector *newPlugins);
488 #endif // PXR_BASE_PLUG_REGISTRY_H
PLUG_API JsValue GetDataFromPluginMetaData(TfType type, const std::string &key) const
GLsizei const GLchar *const * string
GLsizei const GLchar *const * path
PLUG_API PlugPluginPtrVector GetAllPlugins() const
**But if you need a result
static PLUG_API std::vector< TfType > GetDirectlyDerivedTypes(TfType base)
PLUG_API PlugPluginPtrVector RegisterPlugins(const std::string &pathToPlugInfo)
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_PTRS(PlugPlugin)
PLUG_API PlugPluginPtr GetPluginWithName(const std::string &name) const
static PLUG_API void GetAllDerivedTypes(TfType base, std::set< TfType > *result)
static TfType FindDerivedTypeByName(std::string const &typeName)
GLuint const GLchar * name
static PLUG_API TfType FindDerivedTypeByName(TfType base, std::string const &typeName)
static PLUG_API TfType FindTypeByName(std::string const &typeName)
PLUG_API PlugPluginPtr GetPluginForType(TfType t) const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
PLUG_API_TEMPLATE_CLASS(TfSingleton< PlugRegistry >)
static void GetAllDerivedTypes(std::set< TfType > *result)
static PLUG_API PlugRegistry & GetInstance()
Returns the singleton PlugRegistry instance.
PLUG_API std::string GetStringFromPluginMetaData(TfType type, const std::string &key) const
std::vector< TfType > TypeVector