#include <AlgorithmPattern.h>

Public Member Functions | |
| ~AlgorithmPlugIn () | |
| bool | setBatch () |
| bool | setInteractive () |
| bool | getInputSpecification (PlugInArgList *&pArgList) |
| bool | getOutputSpecification (PlugInArgList *&pArgList) |
| bool | execute (PlugInArgList *pInArgList, PlugInArgList *pOutArgList) |
| bool | abort () |
Protected Member Functions | |
| AlgorithmPlugIn (void *pAlgData) | |
| void | setAlgorithmPattern (Resource< AlgorithmPattern > pAlgorithm) |
| bool | isInteractive () const |
| bool | setupAndRunAlgorithm () |
Protected Attributes | |
| Service< ApplicationServices > | mpApplicationServices |
| Service< DesktopServices > | mpDesktopServices |
| Service< PlugInManagerServices > | mpPlugInManagerServices |
| Service< ModelServices > | mpModelServices |
| Service< UtilityServices > | mpUtilityServices |
| ObjectFactory * | mpObjFact |
Definition at line 142 of file AlgorithmPattern.h.
| AlgorithmPlugIn::~AlgorithmPlugIn | ( | ) |
| AlgorithmPlugIn::AlgorithmPlugIn | ( | void * | pAlgData | ) | [protected] |
| bool AlgorithmPlugIn::setBatch | ( | ) | [virtual] |
Sets the plug-in to execute in batch mode.
This method is used to set the plug-in to execute in a non-GUI mode.
Reimplemented from ExecutableShell.
| bool AlgorithmPlugIn::setInteractive | ( | ) | [virtual] |
Sets the plug-in to execute in interactive mode.
This method is used to set the plug-in to execute in a GUI mode.
Reimplemented from ExecutableShell.
| bool AlgorithmPlugIn::getInputSpecification | ( | PlugInArgList *& | pArgList | ) | [virtual] |
Retrieves the plug-in input parameters.
This method queries the plug-in for its input parameters that are needed to execute properly. The input arguments may be different in interactive mode and batch mode.
| pArgList | A plug-in arg list pointer that is set to a created input argument list specifying the plug-in input parameters. NULL is a valid pointer value if the plug-in does not require any input arguments. |
Implements Executable.
| bool AlgorithmPlugIn::getOutputSpecification | ( | PlugInArgList *& | pArgList | ) | [virtual] |
Retrieves the plug-in output parameters.
This method queries the plug-in for its output parameters that are created during execution. The output arguments may be different in interactive mode and batch mode.
| pArgList | A plug-in arg list pointer that is set to a created output argument list specifying the plug-in output parameters. NULL is a valid pointer value if the plug-in does not provide any output arguments. |
Implements Executable.
| bool AlgorithmPlugIn::execute | ( | PlugInArgList * | pInArgList, | |
| PlugInArgList * | pOutArgList | |||
| ) | [virtual] |
Executes the plug-in.
| pInArgList | On input, pInArgList contains a complete input argument list for the plug-in. The actual values are used as inputs when executing the plug-in. Default values may be used if an actual value is not present. | |
| pOutArgList | On input, pOutArgList contains a complete output argument list for the plug-in, although actual values and default values will be ignored. On return, the actual values in the argument list will be updated to include all output parameters defined by the plug-in. |
Implements Executable.
| bool AlgorithmPlugIn::abort | ( | ) | [virtual] |
Aborts the plug-in during execution.
This method may be called by the application to attempt to gracefully abort a plug-in. Depending on the specific plug-in implementation of this method, it may simply initiate the abort process and return or it may attempt to complete the abort process before returning.
Reimplemented from ExecutableShell.
| void AlgorithmPlugIn::setAlgorithmPattern | ( | Resource< AlgorithmPattern > | pAlgorithm | ) | [protected] |
| bool AlgorithmPlugIn::isInteractive | ( | ) | const [protected] |
| bool AlgorithmPlugIn::setupAndRunAlgorithm | ( | ) | [protected, virtual] |
Implements AlgorithmRunner.
Definition at line 160 of file AlgorithmPattern.h.
Service<DesktopServices> AlgorithmPlugIn::mpDesktopServices [protected] |
Definition at line 161 of file AlgorithmPattern.h.
Definition at line 162 of file AlgorithmPattern.h.
Service<ModelServices> AlgorithmPlugIn::mpModelServices [protected] |
Definition at line 163 of file AlgorithmPattern.h.
Service<UtilityServices> AlgorithmPlugIn::mpUtilityServices [protected] |
Definition at line 164 of file AlgorithmPattern.h.
ObjectFactory* AlgorithmPlugIn::mpObjFact [protected] |
Definition at line 165 of file AlgorithmPattern.h.