Tulip  5.0.0
Large graphs analysis and drawing
tlp::Dependency Struct Reference

#include <WithDependency.h>

Public Member Functions

 Dependency (std::string pName, std::string pRelease)
 

Public Attributes

std::string pluginName
 
std::string pluginRelease
 

Detailed Description

Represents a plugin's dependency to another plugin. In addition to maganing plugin registration, Tulip also handles a dependency mechanism between plugins. Every Tulip plugin inherits from the tlp::WithDependency interface which allows to declare that another plugin should be loaded in order for this plugin to run. When declaring a dependency, a plugin state the name and the version of the dependecy. This is done by calling tlp::WithDependency::addDependency()

See also
tlp::WithDependency

Definition at line 40 of file WithDependency.h.

Constructor & Destructor Documentation

tlp::Dependency::Dependency ( std::string  pName,
std::string  pRelease 
)
inline

Constructs a new dependency.

Parameters
pNameThe name of the plug-in, as registered in the Tulip plug-in system.
pReleaseThe required version of the plug-in.

Definition at line 56 of file WithDependency.h.

+ Here is the caller graph for this function:

Member Data Documentation

std::string tlp::Dependency::pluginName

The name of the plug-in, as registered in the Tulip plug-in system.

Definition at line 44 of file WithDependency.h.

std::string tlp::Dependency::pluginRelease

The required version of the plug-in.

Definition at line 48 of file WithDependency.h.