|
virtual std::string | author () const =0 |
|
virtual std::string | category () const =0 |
|
virtual std::string | date () const =0 |
|
virtual std::string | group () const =0 |
|
virtual std::string | icon () const |
|
virtual int | id () const |
|
virtual std::string | info () const =0 |
|
virtual std::string | major () const |
|
virtual std::string | minor () const |
|
virtual std::string | name () const =0 |
|
virtual std::string | programmingLanguage () const |
|
virtual std::string | release () const =0 |
|
virtual std::string | tulipMajor () const |
|
virtual std::string | tulipMinor () const |
|
virtual std::string | tulipRelease () const =0 |
|
template<typename T > |
void | addInOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true) |
|
template<typename T > |
void | addInParameter (const std::string &name, const std::string &help, const std::string &defaultValue, bool isMandatory=true) |
|
template<typename T > |
void | addOutParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true) |
|
template<typename T > |
void | addParameter (const std::string &name, const std::string &help=std::string(), const std::string &defaultValue=std::string(), bool isMandatory=true) |
|
const
tlp::ParameterDescriptionList & | getParameters () const |
|
bool | inputRequired () const |
|
void | addDependency (const char *name, const char *release) |
|
const std::list< Dependency > & | dependencies () const |
|
Top-level interface for plug-ins.
This class holds meta-information about a plug-in (group/author/version...). It stands as a unique base-class for every plugin type. This interface is not intended to be directly sublassed. Plugin objects are mainly used internally into the plugin lister system.
This classe also holds extra information about the Tulip system such as the library version the plugin was built against. Plugin creation is handled by factories generated by the PLUGIN macro and the default Plugin constructor should never be called as is.
- See Also
- tlp::FactoryInterface for more advanced operation such as plugin creation and retrieving dependencies.
-
tlp::PluginContext and its subclasses for parameters handling.
-
tlp::Algorithm for plugins operating on the tlp::Graph structure.
-
tlp::TemplateAlgorithm and its subclasses for plugins operating on graph properties
-
tlp::View for panel plugins
-
tlp::Interactor for plugins responisble for user interactions.
-
tlp::Perspective for plugins handling the main GUI
Definition at line 79 of file Plugin.h.