RAVE
|
Functions | |
init () | |
Initializes the registry by reading the xml file with the plugin definitions. | |
add_plugin (name, plug) | |
Adds a plugin to the registry. | |
remove_plugin (name) | |
Removes a plugin from the registry. | |
get_plugin (name) | |
Load the registry. | |
get_plugins () | |
Return all registered plugin names. | |
Variables | |
bool | _initialized = False |
dict | _registry = {} |
Copyright (C) 2010- Swedish Meteorological and Hydrological Institute (SMHI) This file is part of RAVE. RAVE is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. RAVE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with RAVE. If not, see <http://www.gnu.org/licenses/>.
Lib.rave_pgf_quality_registry.add_plugin | ( | name, | |
plug ) |
Adds a plugin to the registry.
Used for debugging and testing purposes.
Lib.rave_pgf_quality_registry.get_plugin | ( | name | ) |
Load the registry.
Return the plugin with the given name or None if no such plugin exists.
Lib.rave_pgf_quality_registry.get_plugins | ( | ) |
Return all registered plugin names.
Lib.rave_pgf_quality_registry.init | ( | ) |
Initializes the registry by reading the xml file with the plugin definitions.
Lib.rave_pgf_quality_registry.remove_plugin | ( | name | ) |
Removes a plugin from the registry.
Used for debugging and testing purposes