Applications may want to support auto-loading of plugins from certain locations when a client-server connection is made. More...
#include <pqPluginPathBehavior.h>
Inherits QObject.
Public Member Functions | |
| pqPluginPathBehavior (const QString &environment_variable, QObject *parent=0) | |
Protected Slots | |
| void | loadDefaultPlugins (pqServer *) |
Applications may want to support auto-loading of plugins from certain locations when a client-server connection is made.
In case of ParaView, PV_PLUGIN_PATH environment variable is used to locate such auto-load plugin locations. This behavior encapsulates this functionality. Currently, besides the environment_variable specified in the constructor, this class is hard-coded to look at a few locations relative to the executable. That can be changed in future allow application to customize those locations as well. TODO: This class is work in progress. Due to lack of time I am deferring this until later. Currently pqPluginManager does this work, we need to move the corresponding code to this behavior to allow better customization.
Definition at line 26 of file pqPluginPathBehavior.h.
| pqPluginPathBehavior::pqPluginPathBehavior | ( | const QString & | environment_variable, |
| QObject * | parent = 0 |
||
| ) |
|
protectedslot |
1.8.13 on Wed Dec 10 2025