Tulip
4.6.0
Better Visualization Through Research
|
#include <WithDependency.h>
Public Member Functions | |
void | addDependency (const char *name, const char *release) |
const std::list< Dependency > & | dependencies () const |
Protected Attributes | |
std::list< Dependency > | _dependencies |
Describes the dependencies of a plug-in on other plug-ins, identified by their name and their version number.
This allows to have a plug-in inner workings depend on other plug-ins without linking them statically, or hoping depended plug-in will be there.
Definition at line 68 of file WithDependency.h.
void tlp::WithDependency::addDependency | ( | const char * | name, |
const char * | release | ||
) | [inline] |
Adds a dependency upon another plug-in.
factory | The type name of the plug-in (e.g. 'DoubleAlgorithm') |
name | The name of the plug-in, as registered in the Tulip plug-in system. |
release | The required version of the depended plug-in. |
Definition at line 82 of file WithDependency.h.
const std::list<Dependency>& tlp::WithDependency::dependencies | ( | ) | const [inline] |
Gets the list of Dependencies of this plug-in.
Definition at line 91 of file WithDependency.h.
std::list<Dependency> tlp::WithDependency::_dependencies [protected] |
The inner list of dependencies.
Definition at line 73 of file WithDependency.h.