|
VLink 2.0.0
A high-performance communication middleware
|
Plugin interface for self-contained, event-loop-driven plugin components. More...
Go to the source code of this file.
Classes | |
| class | vlink::RunablePluginInterface |
Abstract plugin interface that provides its own MessageLoop event thread. More... | |
Namespaces | |
| namespace | vlink |
Plugin interface for self-contained, event-loop-driven plugin components.
RunablePluginInterface (note: intentional spelling) combines a MessageLoop with the Plugin system to allow dynamic plugins to carry their own event loop.
A plugin that inherits this interface runs in its own MessageLoop thread, started by async_run() after loading. The host calls on_init() to initialise the plugin and on_deinit() to clean up before unloading.