Writing PluginsΒΆ
In the C++ implementation of RSB, a plugin is a dynamically loadable library which defines the two symbols
rsc_plugin_init()rsc_plugin_shutdown()
Note
The macros RSC_PLUGIN_INIT_SYMBOL and
RSC_PLUGIN_SHUTDOWN_SYMBOL should be used to
define functions on the aforementioned symbols.
Any library can be made into an RSB plugin by
adding a file, usually called Plugin.cc, defining these
two symbols. The Plugin.cc file of a minimal RSB
plugin looks like this:
1 2 3 4 5 6 7 8 9 10 11 12 13  | #include <rsc/plugins/Provider.h>
extern "C" {
    void RSC_PLUGIN_INIT_SYMBOL() {
        // initialization
    }
    void RSC_PLUGIN_SHUTDOWN_SYMBOL() {
        // shutdown
    }
}
 | 
Warning
Not implemented yet
Warning
Not implemented yet
Warning
Not implemented yet