Plugin.this
this
(string klass, string name)Creates a new plugin with the given class and name.
The plugin is automatically registered in the plugin database under the specified class.
Parameters
klass | Plugin class/category name |
name | Plugin name within the class |
this
(PluginPtr handle, bool ownsHandle = false)Creates a Plugin wrapper for an existing handle.
Used internally when retrieving plugins from a manager.
Parameters
handle | Existing plugin handle |
ownsHandle | Whether this wrapper owns the handle |