Tulip  4.7.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
tlp::PluginContext Class Reference

#include <PluginContext.h>

+ Inheritance diagram for tlp::PluginContext:

Detailed Description

Contains runtime parameters for a plugin.

tlp::PluginContext is a data structure containing a set of parameters required by a plugin. Each tlp::Plugin subclass has its associated tlp::PluginContext subclass that contains specific parameters related to the Plugin. For instance, the tlp::AlgorithmContext (related to tlp::Algorithm) contains the Graph on which the algorithm should be run In essence, you will never have to access to a plugin's context since the base class constructor will copy its members into protected members of the plugin interface.

Examples:
clique_import/cliqueimport.cpp, and interactor_plugin/interactor_plugin.cpp.

Definition at line 39 of file PluginContext.h.