Tulip  5.2.1
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 43 of file WithDependency.h.

Constructor & Destructor Documentation

◆ Dependency()

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 59 of file WithDependency.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ pluginName

std::string tlp::Dependency::pluginName

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

Definition at line 47 of file WithDependency.h.

◆ pluginRelease

std::string tlp::Dependency::pluginRelease

The required version of the plug-in.

Definition at line 51 of file WithDependency.h.