HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
thisPlugin.h File Reference
+ 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:
TF_PP_STRINGIZE(MFB_PACKAGE_NAME))
#define TF_PP_STRINGIZE(x)
Expand and convert the argument to a string, using a most minimal macro.
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.