Public Member Functions | Protected Slots | List of all members
pqPluginPathBehavior Class Reference

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 *)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ pqPluginPathBehavior()

pqPluginPathBehavior::pqPluginPathBehavior ( const QString &  environment_variable,
QObject *  parent = 0 
)

Member Function Documentation

◆ loadDefaultPlugins

void pqPluginPathBehavior::loadDefaultPlugins ( pqServer )
protectedslot

The documentation for this class was generated from the following file: