File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
13 #include <sys/types.h>
15 #include <sys/socket.h>
106 int Run(
void (*funct)());
114 static void GuiLog(
const QString &results);
115 static QString
Name();
123 p_guiHelpers = helpers;
130 return p_guiHelpers[helper];
137 static QString
DateTime(time_t *curtime = 0);
148 QLocalSocket *p_connectionToParent;
150 clock_t p_startClock;
154 int p_startPageFaults;
155 int p_startProcessSwaps;
161 void SendParentData(QString,
const QString &);
162 void SendParentErrors(
PvlObject &errors);
165 static PvlGroup GetEnviromentInfo();
166 static QString GetSystemDiskSpace();
167 static QString GetLibraryDependencies(QString file);
170 void FunctionCleanup();
175 void UpdateProgress(
const QString &text,
bool print);
176 void UpdateProgress(
int percent,
bool print);
177 void ProcessGuiEvents();
182 void SetParentConnection(QLocalSocket *p_connection) {
183 p_connectionToParent = p_connection;
185 void EstablishConnections();
186 void WaitForCommand(
int childSocket);
189 std::map<QString, void *> p_guiHelpers;
190 static QString p_appName;
194 extern Application *
iApp;
bool IsInteractive()
Indicates if the Isis Graphical User Interface is operating.
Definition: UserInterface.h:171
PvlGroup Accounting()
Creates accounting PvlGroup.
Definition: Application.cpp:281
Application * iApp
Definition: Application.cpp:51
Definition: Application.h:101
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
PvlGroup & group(const int index)
Return the group at the specified index.
Definition: PvlObject.cpp:452
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
void print() const
Prints a string representation of this exception to stderr.
Definition: IException.cpp:445
Execute External Programs and Commands.
Definition: ProgramLauncher.h:34
static bool HasParent()
Returns whether the application has a parent or not.
Definition: Application.cpp:472
A single keyword-value pair.
Definition: PvlKeyword.h:82
static void GuiLog(const Pvl &results)
Writes the Pvl results to the sessionlog, but not to the printfile.
Definition: Application.cpp:395
Definition: Environment.h:36
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
File name manipulation and expansion.
Definition: FileName.h:100
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
QString FileOpen(const QString &filename)
This error should be used when a file could not be opened.
Definition: FileOpen.cpp:11
int ParentId()
Returns the parent id.
Definition: UserInterface.h:180
Container for cube-like labels.
Definition: Pvl.h:119
static bool p_applicationForceGuiApp
Definition: Application.h:117
void RegisterGuiHelpers(std::map< QString, void * > helpers)
Definition: Application.h:122
Gui for Isis Applications.
Definition: Gui.h:73
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
void ShowLog()
Definition: Gui.h:90
static UserInterface & GetUserInterface()
Returns the UserInterface object.
Definition: Application.cpp:463
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
static QString Version()
The Isis Version for this application.
Definition: Application.cpp:834
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
QString toString() const
Returns a string representation of this exception.
Definition: IException.cpp:537
void GuiReportError(IException &e)
Loads the error message into the gui, but does not write it to the session log.
Definition: Application.cpp:708
static QString Name()
Returns the name of the application.
Definition: Application.cpp:729
Isis exception class.
Definition: IException.h:91
int Run(void(*funct)())
Runs the program defined in the function funct.
Definition: Application.cpp:177
Program progress reporter.
Definition: Progress.h:42
Application(int &argc, char *argv[])
Constuctor for the Application object.
Definition: Application.cpp:64
ErrorType errorType() const
Returns the source of the error for this exception.
Definition: IException.cpp:430
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
void Log(const QString &text)
Write text to the gui log.
Definition: Gui.cpp:617
~Application()
Destroys the Application object.
Definition: Application.cpp:163
void * GetGuiHelper(QString helper)
Definition: Application.h:129
int errno
This is free and unencumbered software released into the public domain.
Gui * TheGui()
Definition: UserInterface.h:187
Namespace for the standard library.
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:140
static void Log(PvlGroup &results)
Writes Pvl results to sessionlog and printfile.
Definition: Application.cpp:353
static QString UserName()
Returns the user name.
Definition: Application.cpp:816
static QString DateTime(time_t *curtime=0)
Returns the date and time as a QString.
Definition: Application.cpp:802
PvlObject History()
Creates an application history PvlObject.
Definition: Application.cpp:251
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
static QString HostName()
Returns the host name.
Definition: Application.cpp:825