24 #ifndef PXR_BASE_TF_SCRIPT_MODULE_LOADER_H
25 #define PXR_BASE_TF_SCRIPT_MODULE_LOADER_H
38 #include <hboost/python/dict.hpp>
75 std::vector<TfToken>
const &predecessors);
107 std::vector<TfToken> predecessors, successors;
126 void _GetOrderedDependenciesRecursive(
TfToken const &lib,
128 std::vector<TfToken> *
result)
const;
129 void _GetOrderedDependencies(std::vector<TfToken>
const &input,
130 std::vector<TfToken> *
result)
const;
131 void _TopologicalSort(std::vector<TfToken> *
result)
const;
133 bool _HasTransitiveSuccessor(
TfToken const &predecessor,
134 TfToken const &successor)
const;
141 std::deque<TfToken> _remainingLoadWork;
148 #endif // PXR_BASE_TF_SCRIPT_MODULE_LOADER_H
TF_API hboost::python::dict GetModulesDict() const
TF_API_TEMPLATE_CLASS(TfSingleton< TfScriptModuleLoader >)
GLsizei const GLchar *const * string
static TF_API This & GetInstance()
Return the singleton instance.
**But if you need a result
TF_API void WriteDotFile(std::string const &file) const
TF_API std::vector< std::string > GetModuleNames() const
TF_API void RegisterLibrary(TfToken const &name, TfToken const &moduleName, std::vector< TfToken > const &predecessors)
TfScriptModuleLoader This
TF_API void LoadModulesForLibrary(TfToken const &name)
GLuint const GLchar * name
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
TF_API void LoadModules()