HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
plugin.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/plug/api.h"
#include "pxr/base/js/types.h"
#include "pxr/base/tf/declarePtrs.h"
#include "pxr/base/tf/refPtr.h"
#include "pxr/base/tf/weakPtr.h"
#include <hboost/noncopyable.hpp>
#include <atomic>
#include <string>
#include <utility>
#include <vector>
+ Include dependency graph for plugin.h:

Go to the source code of this file.

Classes

class  PlugPlugin
 

Functions

PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS (PlugPlugin)
 
PLUG_API std::string PlugFindPluginResource (const PlugPluginPtr &plugin, const std::string &path, bool verify=true)
 

Function Documentation

PLUG_API std::string PlugFindPluginResource ( const PlugPluginPtr &  plugin,
const std::string path,
bool  verify = true 
)

Find a plugin's resource by absolute or relative path optionally verifying that file exists. If plugin is NULL or verification fails an empty path is returned. Relative paths are relative to the plugin's resource path.

PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS ( PlugPlugin  )