fawkes::PluginDirectorAspect Class Reference
[Fawkes Thread Aspects]
Thread aspect to access the PluginManager.
More...
#include <aspect/plugin_director.h>

Public Member Functions | |
| virtual | ~PluginDirectorAspect () |
| Virtual empty Destructor. | |
| void | init_PluginDirectorAspect (PluginManager *manager) |
| Set the PluginManager. | |
Protected Attributes | |
| PluginManager * | plugin_manager |
| This is the member used to access the PluginManager. | |
Detailed Description
Thread aspect to access the PluginManager.Give this aspect to your thread to gain access to the plugin manager. The plugin manager can be used to load and unload plugins. Use this carefully, as it can interfere with the internals of the runtime system.
Note: This aspect can only be added for continuous threads, as plugins cannot be loaded while the main loop is running.
Definition at line 31 of file plugin_director.h.
Constructor & Destructor Documentation
| fawkes::PluginDirectorAspect::~PluginDirectorAspect | ( | ) | [virtual] |
Member Function Documentation
| void fawkes::PluginDirectorAspect::init_PluginDirectorAspect | ( | PluginManager * | manager | ) |
Set the PluginManager.
It is guaranteed that this is called for a configurable thread before Thread::start() is called (when running regularly inside Fawkes).
- Parameters:
-
manager PluginManager instance to use
Definition at line 60 of file plugin_director.cpp.
References plugin_manager.
Referenced by fawkes::AspectIniFin::init().
Member Data Documentation
PluginManager * fawkes::PluginDirectorAspect::plugin_manager [protected] |
This is the member used to access the PluginManager.
The plugin manager will remain valid for the whole lifetime of the thread.
Definition at line 39 of file plugin_director.h.
Referenced by WebviewThread::init(), and init_PluginDirectorAspect().
The documentation for this class was generated from the following files:
- src/libs/aspect/plugin_director.h
- src/libs/aspect/plugin_director.cpp

