File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis 3 Programmer Reference
|
14 #include "PipelineApplication.h"
153 Pipeline(
const QString &procAppName =
"");
161 void SetInputFile(
const char *inputParam,
const char *virtualBandsParam);
162 void SetInputFile(
const QString &inputParam,
const QString &virtualBandsParam);
182 void AddToPipeline(
const QString &appname,
const QString &identifier);
189 friend std::ostream &operator<<(std::ostream &os,
Pipeline &pipeline);
197 return (
int)
p_apps.size();
240 QString
FinalOutput(
int branch = 0,
bool addModifiers =
true);
258 for (
int i=0; i<size; i++) {
285 std::vector< PipelineApplication * >
p_apps;
287 bool p_outputListNeedsModifiers;
void SetOutputFile(const char *outputParam)
This method is used to set the final output file.
void SetLastApplication(const QString &appname)
This method disables all applications after to this one.
bool p_continue
continue the execution even if exception is encountered.
This class represents one application in the pipeline.
std::vector< QString > p_finalOutput
The final output file (empty if needs calculated)
std::vector< QString > p_appIdentifiers
The strings to identify the pipeline applications.
File name manipulation and expansion.
QString p_procAppName
The name of the pipeline.
Pipeline(const QString &procAppName="")
This is the one and only Pipeline constructor.
QString TemporaryFolder()
This method returns the user's temporary folder for temporary files.
void AddOriginalBranch(QString branch)
Start off the branches directly from the pipeline.
QString FinalOutput(int branch=0, bool addModifiers=true)
This gets the final output for the specified branch; this is necessary for the PipelineApplications t...
std::vector< QString > p_originalInput
The original input file.
void SetFirstApplication(const QString &appname)
This method disables all applications up to this one.
std::vector< QString > OriginalBranches()
Returns the names of the original branches of the pipeline (input files * branches if any)
std::vector< QString > p_virtualBands
The virtual bands string.
void SetInputListFile(const char *inputParam)
This method is used to set the original input files.
bool p_keepTemporary
True if keeping temporary files.
bool KeepTemporaryFiles()
Returns true if temporary files will not be deleted, false if they will.
void SetContinue(bool pbFlag)
Set the continue flag.
std::vector< QString > p_originalBranches
The input file(s) + original branches from pipeline.
void AddToPipeline(const QString &appname)
Add a new program to the pipeline.
void SetInputFile(const char *inputParam)
This method is used to set the original input file.
QString Name() const
Returns the name of the pipeline.
QString OriginalInput(unsigned int branch)
Returns the initial input file for the pipeline.
int OriginalInputSize()
Returns the number of input files.
void EnableAllApplications()
This method re-enables all applications.
void Run()
This method executes the pipeline.
This class helps to call other Isis Applications in a Pipeline.
int Size() const
Returns the number of applications in the pipeline.
PipelineApplication & Application(const QString &identifier)
This is an accessor to get a specific PipelineApplication.
void SetOutputListFile(const char *outputFileNameParam)
This method is used to set an output list file.
void Prepare()
This method is the core of the pipeline class.
bool p_addedCubeatt
True if the "cubeatt" program was added.
~Pipeline()
This destroys the pipeline.
std::vector< PipelineApplication * > p_apps
The pipeline applications.
int OriginalBranchesSize()
Returns the total number of input branches Original branches = Number of input files * Number of bran...
This is free and unencumbered software released into the public domain.
void AddPause()
Add a pause to the pipeline.
std::vector< QString > p_inputBranches
Branches for input list.