Tulip  4.6.0
Better Visualization Through Research
tlp::Dependency Struct Reference

#include <WithDependency.h>

List of all members.

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.


Member Data Documentation

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

Definition at line 44 of file WithDependency.h.

The required version of the plug-in.

Definition at line 48 of file WithDependency.h.

 All Classes Files Functions Variables Enumerations Enumerator Properties