164 Pipeline(
const QString &procAppName =
"");
172 void SetInputFile(
const char *inputParam,
const char *virtualBandsParam);
173 void SetInputFile(
const QString &inputParam,
const QString &virtualBandsParam);
193 void AddToPipeline(
const QString &appname,
const QString &identifier);
200 friend std::ostream &operator<<(std::ostream &os,
Pipeline &pipeline);
208 return (
int)
p_apps.size();
251 QString
FinalOutput(
int branch = 0,
bool addModifiers =
true);
269 for (
int i=0; i<size; i++) {
296 std::vector< PipelineApplication * >
p_apps;
298 bool p_outputListNeedsModifiers;
void SetInputFile(const char *inputParam)
This method is used to set the original input file.
std::vector< QString > p_inputBranches
Branches for input list.
void SetInputListFile(const char *inputParam)
This method is used to set the original input files.
QString TemporaryFolder()
This method returns the user's temporary folder for temporary files.
std::vector< QString > p_finalOutput
The final output file (empty if needs calculated)
void SetLastApplication(const QString &appname)
This method disables all applications after to this one.
void Run()
This method executes the pipeline.
std::vector< QString > p_appIdentifiers
The strings to identify the pipeline applications.
int OriginalInputSize()
Returns the number of input files.
File name manipulation and expansion.
~Pipeline()
This destroys the pipeline.
QString OriginalInput(unsigned int branch)
Returns the initial input file for the pipeline.
Pipeline(const QString &procAppName="")
This is the one and only Pipeline constructor.
bool p_addedCubeatt
True if the "cubeatt" program was added.
void SetContinue(bool pbFlag)
Set the continue flag.
This class helps to call other Isis Applications in a Pipeline.
std::vector< QString > p_virtualBands
The virtual bands string.
bool p_keepTemporary
True if keeping temporary files.
bool KeepTemporaryFiles()
Returns true if temporary files will not be deleted, false if they will.
bool p_continue
continue the execution even if exception is encountered.
std::vector< QString > p_originalInput
The original input file.
int OriginalBranchesSize()
Returns the total number of input branches Original branches = Number of input files * Number of bran...
void SetFirstApplication(const QString &appname)
This method disables all applications up to this one.
std::vector< PipelineApplication *> p_apps
The pipeline applications.
void SetOutputFile(const char *outputParam)
This method is used to set the final output file.
std::vector< QString > OriginalBranches()
Returns the names of the original branches of the pipeline (input files * branches if any) ...
void SetOutputListFile(const char *outputFileNameParam)
This method is used to set an output list file.
This class represents one application in the pipeline.
void AddToPipeline(const QString &appname)
Add a new program to the pipeline.
void Prepare()
This method is the core of the pipeline class.
QString Name() const
Returns the name of the pipeline.
int Size() const
Returns the number of applications in 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...
QString p_procAppName
The name of the pipeline.
Namespace for ISIS/Bullet specific routines.
void AddOriginalBranch(QString branch)
Start off the branches directly from the pipeline.
std::vector< QString > p_originalBranches
The input file(s) + original branches from pipeline.
void AddPause()
Add a pause to the pipeline.
PipelineApplication & Application(const QString &identifier)
This is an accessor to get a specific PipelineApplication.
void EnableAllApplications()
This method re-enables all applications.