WirePlumber Daemon Plugins
WpPlugin
GObject ╰──WpPlugin
WpPlugin is a base class for objects that provide functionality to the WirePlumber daemon.
Typically, a plugin is created within a module and then registered to make it available for use by the daemon. The daemon is responsible for calling activate() after all modules have been loaded, the core is connected and the initial discovery of global objects is done.
Members
parent_instance
(GObject)
–
Class structure
WpPlugin
GObject ╰──WpPlugin
WpPlugin is a base class for objects that provide functionality to the WirePlumber daemon.
Typically, a plugin is created within a module and then registered to make it available for use by the daemon. The daemon is responsible for calling activate() after all modules have been loaded, the core is connected and the initial discovery of global objects is done.
Members
parent_instance
(GObject)
–
WpPlugin
GObject ╰──WpPlugin
WpPlugin is a base class for objects that provide functionality to the WirePlumber daemon.
Typically, a plugin is created within a module and then registered to make it available for use by the daemon. The daemon is responsible for calling activate() after all modules have been loaded, the core is connected and the initial discovery of global objects is done.
Members
parent_instance
(GObject)
–
Methods
wp_plugin_activate
wp_plugin_activate (WpPlugin * self)
Activates the plugin. The plugin is required to start any operations only when this method is called and not before.
Parameters:
self
–
the plugin
Wp.Plugin.activate
def Wp.Plugin.activate (self):
#python wrapper for 'wp_plugin_activate'
Activates the plugin. The plugin is required to start any operations only when this method is called and not before.
Parameters:
self
(
Wp.Plugin
)
–
the plugin
Wp.Plugin.prototype.activate
function Wp.Plugin.prototype.activate(): {
// javascript wrapper for 'wp_plugin_activate'
}
Activates the plugin. The plugin is required to start any operations only when this method is called and not before.
Parameters:
self
(
Wp.Plugin
)
–
the plugin
wp_plugin_deactivate
wp_plugin_deactivate (WpPlugin * self)
Deactivates the plugin. The plugin is required to stop all operations and release all resources associated with it.
Parameters:
self
–
the plugin
Wp.Plugin.deactivate
def Wp.Plugin.deactivate (self):
#python wrapper for 'wp_plugin_deactivate'
Deactivates the plugin. The plugin is required to stop all operations and release all resources associated with it.
Parameters:
self
(
Wp.Plugin
)
–
the plugin
Wp.Plugin.prototype.deactivate
function Wp.Plugin.prototype.deactivate(): {
// javascript wrapper for 'wp_plugin_deactivate'
}
Deactivates the plugin. The plugin is required to stop all operations and release all resources associated with it.
Parameters:
self
(
Wp.Plugin
)
–
the plugin
wp_plugin_get_core
WpCore * wp_plugin_get_core (WpPlugin * self)
Parameters:
self
–
the plugin
the core associated with this plugin
wp_plugin_get_module
WpModule * wp_plugin_get_module (WpPlugin * self)
Parameters:
self
–
the plugin
the module associated with this plugin
wp_plugin_register
wp_plugin_register (WpPlugin * plugin)
Registers the plugin to its associated core, making it available for use
Parameters:
plugin
(
[transfer: full]
)
–
the plugin
Wp.Plugin.register
def Wp.Plugin.register (self):
#python wrapper for 'wp_plugin_register'
Registers the plugin to its associated core, making it available for use
Parameters:
plugin
(
Wp.Plugin
)
–
the plugin
Wp.Plugin.prototype.register
function Wp.Plugin.prototype.register(): {
// javascript wrapper for 'wp_plugin_register'
}
Registers the plugin to its associated core, making it available for use
Parameters:
plugin
(
Wp.Plugin
)
–
the plugin
Properties
module
“module” WpModule *
The module that created this plugin. Implementations should initialize this in the constructor.
Flags : Read / Write / Construct Only
module
“self.props.module” Wp.Module
The module that created this plugin. Implementations should initialize this in the constructor.
Flags : Read / Write / Construct Only
module
“module” Wp.Module
The module that created this plugin. Implementations should initialize this in the constructor.
Flags : Read / Write / Construct Only
Virtual Methods
do_activate
def do_activate (self):
#python implementation of the 'activate' virtual method
Parameters:
self
(
Wp.Plugin
)
–
vfunc_activate
function vfunc_activate(self: Wp.Plugin): {
// javascript implementation of the 'activate' virtual method
}
See Wp.Plugin.prototype.activate
Parameters:
self
(
Wp.Plugin
)
–
do_deactivate
def do_deactivate (self):
#python implementation of the 'deactivate' virtual method
Parameters:
self
(
Wp.Plugin
)
–
vfunc_deactivate
function vfunc_deactivate(self: Wp.Plugin): {
// javascript implementation of the 'deactivate' virtual method
}
See Wp.Plugin.prototype.deactivate
Parameters:
self
(
Wp.Plugin
)
–
Constants
The results of the search are