#include <string>
Go to the source code of this file.
Namespaces | |
| namespace | RTT |
| State Machines, Activities, XML Properties, Scripting,. | |
Defines | |
| #define | ORO_PLUGIN_HPP 1 |
Functions | |
| bool | loadRTTPlugin (RTT::TaskContext *t) |
| Instructs this plugin to load itself into the application. | |
| std::string | getRTTPluginName () |
| Return the unique name of this plugin. | |
A plugin is a dynamic library which has a unique name and can be loaded in a running application. In case the loading is done by an Orocos TaskContext, the plugin is notified of the loading TaskContext. A plugin can reject to load, in which case the library should be unloaded from the application again. Once loaded, a plugin remains in the current process until the process exits.
Definition in file Plugin.hpp.
| std::string getRTTPluginName | ( | ) |
Return the unique name of this plugin.
No two plugins with the same name will be allowed to live in a single process.
| bool loadRTTPlugin | ( | RTT::TaskContext * | t | ) |
Instructs this plugin to load itself into the application.
Implement in this function any startup code your plugin requires. This function should not throw.
| t | The optional TaskContext which is loading this plugin. May be zero. |
1.5.8