![]() |
MaCh3
2.6.1
Reference Guide
|
Plugin interface and registration macros for MaCh3. More...
Go to the source code of this file.
Classes | |
| class | M3::IPlugin |
| Interface for MaCh3 plugins and modules. More... | |
| class | M3::PluginBase |
Namespaces | |
| M3 | |
| Main namespace for MaCh3 software. | |
Macros | |
| #define | MACH3_REGISTER_PLUGIN(PluginClass) |
| Macro to register a plugin class with MaCh3. More... | |
Typedefs | |
| typedef IPlugin | M3::IModule |
| Alias for IPlugin, used for core modules. More... | |
| typedef PluginBase | M3::IModuleBase |
| Alias for IPluginBase, used for core modules. More... | |
| typedef M3::IPlugin *(* | create_plugin_t) () |
| Function pointer type for plugin factory function. More... | |
| typedef void(* | destroy_plugin_t) (M3::IPlugin *) |
| Function pointer type for plugin destructor function. More... | |
Plugin interface and registration macros for MaCh3.
Definition in file plugin.hpp.
| #define MACH3_REGISTER_PLUGIN | ( | PluginClass | ) |
Macro to register a plugin class with MaCh3.
This macro generates the required factory and destructor functions for a plugin class. Use it in your plugin implementation file.
| PluginClass | The plugin class that implements M3::IPlugin |
Example usage:
Definition at line 80 of file plugin.hpp.
| create_plugin_t |
Function pointer type for plugin factory function.
Definition at line 58 of file plugin.hpp.
| destroy_plugin_t |
Function pointer type for plugin destructor function.
Definition at line 62 of file plugin.hpp.