HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thisPlugin.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/plug/registry.h"
#include <hboost/preprocessor/stringize.hpp>
+ Include dependency graph for thisPlugin.h:

Go to the source code of this file.

Macros

#define PLUG_THIS_PLUGIN
 

Macro Definition Documentation

#define PLUG_THIS_PLUGIN
Value:
HBOOST_PP_STRINGIZE(MFB_PACKAGE_NAME))
PLUG_API PlugPluginPtr GetPluginWithName(const std::string &name) const
static PLUG_API PlugRegistry & GetInstance()
Returns the singleton PlugRegistry instance.

Returns a plugin registered with the name of the current library (uses the define for MFB_PACKAGE_NAME). Note that plugin registration occurs as a side effect of using this macro, at the point in time the code at the macro site is invoked.

Definition at line 37 of file thisPlugin.h.