Lines Matching full:plugin
15 // A plugin is special function called by the RAS data files specifically for
22 // Each plugin must be defined in a specific form. See PluginFunction below.
23 // Then the plugin must registered in the PluginMap using the PLUGIN_DEFINE or
27 // - The plugin instance for plugins that may be defined for a chip that has
35 // These are provided as know chip types for plugin definitions.
72 /** A nested map that contains the function for each chip type and plugin
78 * @brief Registers a plugin with the plugin map.
80 * @param i_type The chip type associated with the plugin.
81 * @param i_name The name of the plugin.
82 * @param i_plugin The plugin function.
84 * @throw std::logic_error if a plugin is defined more than once.
97 throw std::logic_error("Duplicate plugin found"); in add()
102 * @return The plugin function for the target plugin.
104 * @param i_type The chip type associated with the plugin.
105 * @param i_name The name of the plugin.
107 * @throw std::out_of_range if the target plugin does not exist.
120 trace::err("Plugin not defined: i_type=0x%08x i_name=%s", i_type, in get()
129 // These defines a unique class and a global variable for each plugin. Because
132 // the plugins to be registered in the plugin map before execution.
153 // same plugin needs to be defined differently for different chips. Example:
168 // Also, it is important that the plugin definitions should be declared outside
170 // duplicate plugin definitions at compile time. Otherwise, if you do something