|
PLUG_API bool | Load () |
| Loads the plugin. More...
|
|
PLUG_API bool | IsLoaded () const |
| Returns true if the plugin is currently loaded. More...
|
|
PLUG_API bool | IsResource () const |
| Returns true if the plugin is resource-only. More...
|
|
PLUG_API JsObject | GetMetadata () |
| Returns the dictionary containing meta-data for the plugin. More...
|
|
PLUG_API JsObject | GetMetadataForType (const TfType &type) |
| Returns the metadata sub-dictionary for a particular type. More...
|
|
PLUG_API JsObject | GetDependencies () |
| Returns the dictionary containing the dependencies for the plugin. More...
|
|
PLUG_API bool | DeclaresType (const TfType &type, bool includeSubclasses=false) const |
| Returns true if type is declared by this plugin. More...
|
|
std::string const & | GetName () const |
| Returns the plugin's name. More...
|
|
std::string const & | GetPath () const |
| Returns the plugin's filesystem path. More...
|
|
std::string const & | GetResourcePath () const |
| Returns the plugin's resources filesystem path. More...
|
|
PLUG_API std::string | MakeResourcePath (const std::string &path) const |
| Build a plugin resource path by returning a given absolute path or combining the plugin's resource path with a given relative path. More...
|
|
PLUG_API std::string | FindPluginResource (const std::string &path, bool verify=true) const |
| Find a plugin resource by absolute or relative path optionally verifying that file exists. More...
|
|
size_t | GetCurrentCount () const |
| Return the current reference count of this object. More...
|
|
bool | IsUnique () const |
| Return true if only one TfRefPtr points to this object. More...
|
|
const TfRefCount & | GetRefCount () const |
|
void | SetShouldInvokeUniqueChangedListener (bool shouldCall) |
|
| TfWeakBase (const TfWeakBase &) |
|
const TfWeakBase & | __GetTfWeakBase__ () const |
|
const TfWeakBase & | operator= (const TfWeakBase &) |
|
void | EnableNotification2 () const |
|
TF_API void const * | GetUniqueIdentifier () const |
|
Defines an interface to registered plugins.
Plugins are registered using the interfaces in PlugRegistry
.
For each registered plugin, there is an instance of PlugPlugin
which can be used to load and unload the plugin and to retrieve information about the classes implemented by the plugin.
Definition at line 58 of file plugin.h.