Isis Developer Reference
ProgramLauncher.h
Go to the documentation of this file.
1 #ifndef ProgramLauncher_h
2 #define ProgramLauncher_h
3 
9 /* SPDX-License-Identifier: CC0-1.0 */
10 
11 class QString;
12 
13 namespace Isis {
14  class IException;
15 
35  public:
36  static void RunIsisProgram(QString isisProgramName, QString arguments);
37  static void RunSystemCommand(QString commandLine);
38 
39  private:
40  static IException ProcessIsisMessageFromChild(QString code, QString msg);
41 
42  private:
46  ~ProgramLauncher();
47 
54 
61  ProgramLauncher &operator=(ProgramLauncher &other);
62  };
63 };
64 
65 #endif
Isis::iApp
Application * iApp
Definition: Application.cpp:51
FileName.h
Isis::ProgramLauncher
Execute External Programs and Commands.
Definition: ProgramLauncher.h:34
Isis::Application::GuiLog
static void GuiLog(const Pvl &results)
Writes the Pvl results to the sessionlog, but not to the printfile.
Definition: Application.cpp:395
Isis::ProgramLauncher::RunSystemCommand
static void RunSystemCommand(QString commandLine)
This runs arbitrary system commands.
Definition: ProgramLauncher.cpp:207
Isis::FileName::name
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::FileName::fileExists
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
IString.h
Isis::IException::append
void append(const IException &exceptionSource)
Appends the given exception (and its list of previous exceptions) to this exception's causational exc...
Definition: IException.cpp:409
Isis::ProgramLauncher::RunIsisProgram
static void RunIsisProgram(QString isisProgramName, QString arguments)
Executes the Isis program with the given arguments.
Definition: ProgramLauncher.cpp:37
Isis::FileName::expanded
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::toInt
int toInt(const QString &string)
Global function to convert from a string to an integer.
Definition: IString.cpp:93
Application.h
Isis::IException
Isis exception class.
Definition: IException.h:91
IException.h
std
Namespace for the standard library.
ProgramLauncher.h
Isis::Application::Log
static void Log(PvlGroup &results)
Writes Pvl results to sessionlog and printfile.
Definition: Application.cpp:353
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16