c3d.plugin
the plugin module can be used to load plugins and do thing with them. like reload.
load(plugin_function [, ...]) | schedules a plugin to be loaded. |
---|---|
register() | Checks for any new plugins and adds them to the module registry |
load_registered() | goes thru the plugin registry and loads any plugins found. |
refinalize() | reruns finalization functions of all loaded plugins. |
- load(plugin_function [, ...])Source
schedules a plugin to be loaded. in C3D plugins get passed in as a function. should be called in c3d.init
Parameters
- plugin_function function the code of the plugin to be loaded
- ...? any additional arguments to pass into the plugin.
- register()Source
Checks for any new plugins and adds them to the module registry
- load_registered()Source
goes thru the plugin registry and loads any plugins found.
- refinalize()Source
reruns finalization functions of all loaded plugins.