Public Member Functions |
| virtual | ~IntegerAlgorithm () |
| | Algorithm (const AlgorithmContext &context) |
| | Constructs an algorithm and initializes members from the AlgorithmContext.
|
| virtual | ~Algorithm () |
| virtual bool | run () |
| | Runs the algorithm on the context that was specified during construction.
|
| virtual bool | check (std::string &) |
| | Checks if the algorithm can run on the context it was given.
|
const
tlp::ParameterDescriptionList & | getParameters () |
| | Retrieves the parameters.
|
| template<typename T > |
| void | addInParameter (const char *str, const char *inHelp=0, const char *inDefValue=0, bool isMandatory=true) |
| | Adds an IN parameter to the plug-in.
|
| template<typename T > |
| void | addOutParameter (const char *str, const char *inHelp=0, const char *inDefValue=0, bool isMandatory=true) |
| | Adds an OUT parameter to the plug-in.
|
| template<typename T > |
| void | addInOutParameter (const char *str, const char *inHelp=0, const char *inDefValue=0, bool isMandatory=true) |
| | Adds an INOUT parameter to the plug-in.
|
| template<typename T > |
| void | addParameter (const char *parameterName, const char *help=NULL, const char *defaultValue=NULL, bool isMandatory=true) |
| | Adds an IN parameter to the plug-in (deprecated)
|
| std::list< Dependency > | getDependencies () |
| | Gets the list of Dependencies of this plug-in.
|
| template<typename Ty > |
| void | addDependency (const char *name, const char *release) |
| | Adds a dependency upon another plug-in. The parameters should be null-terminated strings, or NULL.
|
Interface for int plug-ins.