Stimfit 0.12.7
|
User-defined plugin. More...
#include <stf.h>
Public Member Functions | |
Plugin (const wxString &menuEntry_, const PluginFunc &pluginFunc_, const UserInput &input_=UserInput()) | |
Constructor. | |
~Plugin () | |
Destructor. | |
Public Attributes | |
int | id |
wxString | menuEntry |
PluginFunc | pluginFunc |
UserInput | input |
Static Public Attributes | |
static int | n_plugins |
User-defined plugin.
Class used for extending Stimfit's functionality: The client supplies a new menu entry and an ExtFunc that will be called upon selection of that entry.
stf::Plugin::Plugin | ( | const wxString & | menuEntry_, |
const PluginFunc & | pluginFunc_, | ||
const UserInput & | input_ = UserInput() |
||
) | [inline] |
Constructor.
menuEntry_ | Menu entry string for this plugin. |
pluginFunc_ | Function to be executed by this plugin. |
input_ | Dialog entries required by this plugin. |
References n_plugins.
int stf::Plugin::id |
The plugin id; set automatically upon construction, so don't touch.
Dialog entries
Menu entry string for this plugin.
int stf::Plugin::n_plugins [static] |
Static plugin counter. Initialised in plugins/plugins.cpp.
Referenced by Plugin().
The function to be executed by this plugin.