tlp::AlgorithmFactory Class Reference
[Plugins]
A base class for algorithm plug-ins factory. Each plug-in declares (through a macro) its own factory. The factory the registers itself in the Tulip plug-in system (through the static initFactory() method when the library is loaded.. The actual registration is delegated to a TemplateFactory to factorize code.
More...
#include <Algorithm.h>
List of all members.
Public Member Functions
Static Public Member Functions
- static void initFactory ()
- This static initilization is called when the plug-in library is loaded, and registers the new plug-in in the Tulip plug-in system.
Static Public Attributes
Detailed Description
A base class for algorithm plug-ins factory. Each plug-in declares (through a macro) its own factory. The factory the registers itself in the Tulip plug-in system (through the static initFactory() method when the library is loaded.. The actual registration is delegated to a TemplateFactory to factorize code.
Constructor & Destructor Documentation
virtual tlp::AlgorithmFactory::~AlgorithmFactory |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual std::string tlp::AlgorithmFactory::getMajor |
( |
|
) |
const [inline, virtual] |
Only the major of the plug-in version. A version should be X.Y, X being the major.
- Returns:
- The major part of the plug-in version.
Implements tlp::PluginInfoInterface.
virtual std::string tlp::AlgorithmFactory::getMinor |
( |
|
) |
const [inline, virtual] |
Only the minor of the plug-in version. A version should be X.Y, Y being the major.
- Returns:
- The minor part of the plug-in version.
Implements tlp::PluginInfoInterface.
virtual std::string tlp::AlgorithmFactory::getTulipMajor |
( |
|
) |
const [inline, virtual] |
virtual std::string tlp::AlgorithmFactory::getTulipMinor |
( |
|
) |
const [inline, virtual] |
static void tlp::AlgorithmFactory::initFactory |
( |
|
) |
[inline, static] |
This static initilization is called when the plug-in library is loaded, and registers the new plug-in in the Tulip plug-in system.
Member Data Documentation
A static factory that is initialized when the library is loaded.