#include <algorithm.h>
◆ InputMap
◆ OutputMap
◆ ~Algorithm()
Empty virtual destructor, needed because we have some virtual functions.
◆ compute()
Do the actual computation once that everything is set and configured. The recommended use for this function is to first get the inputs and outputs into local ref variables (const for the inputs) and then do the processing. This allow you also to write a "classic" function call with parameters which you would just wrap with the parameterless function.
◆ declareInput()
void declareInput |
( |
InputBase & |
input, |
|
|
const std::string & |
name, |
|
|
const std::string & |
desc |
|
) |
| |
|
protected |
◆ declareOutput()
void declareOutput |
( |
OutputBase & |
output, |
|
|
const std::string & |
name, |
|
|
const std::string & |
desc |
|
) |
| |
|
protected |
◆ input()
Return the input wrapper associated with the given name.
◆ inputNames()
std::vector<std::string> inputNames |
( |
| ) |
const |
|
inline |
Return the names of all the inputs that have been defined for this object.
◆ inputs()
◆ inputTypes()
std::vector<const std::type_info*> inputTypes |
( |
| ) |
const |
◆ output()
Return the output wrapper associated with the given name.
◆ outputNames()
std::vector<std::string> outputNames |
( |
| ) |
const |
|
inline |
Return the names of all the outputs that have been defined for this object.
◆ outputs()
◆ outputTypes()
std::vector<const std::type_info*> outputTypes |
( |
| ) |
const |
◆ reset()
This function will be called when doing batch computations between each file that is processed. That is, if your algorithm is some sort of state machine, it allows you to reset it to its original state to process another file without having to delete and reinstantiate it.
Referenced by StreamingAlgorithmWrapper::reset().
◆ _inputs
◆ _outputs
◆ inputDescription
◆ outputDescription
◆ processingMode
const std::string processingMode |
|
static |
The documentation for this class was generated from the following file: