#include <Application.h>
|
static UserInterface & | GetUserInterface () |
| Returns the UserInterface object.
|
|
static void | Log (PvlGroup &results) |
| Writes Pvl results to sessionlog and printfile.
|
|
static void | GuiLog (const Pvl &results) |
| Writes the Pvl results to the sessionlog, but not to the printfile.
|
|
static void | GuiLog (const PvlGroup &results) |
| Writes the PvlGroup results to the sessionlog, but not to the printfile.
|
|
static void | GuiLog (const QString &results) |
| Writes the results to the sessionlog, but not to the printfile.
|
|
static QString | Name () |
| Returns the name of the application.
|
|
static QString | UserName () |
| Returns the user name.
|
|
static QString | HostName () |
| Returns the host name.
|
|
static QString | DateTime (time_t *curtime=0) |
| Returns the date and time as a QString.
|
|
static QString | Version () |
| The Isis Version for this application.
|
|
static bool | HasParent () |
| Returns whether the application has a parent or not.
|
|
static QString | userName () |
| @Returns the user name.
|
|
static QString | hostName () |
|
static QString | isisVersion () |
|
static QString | getEnvironmentValue (QString, QString) |
|
◆ Application()
Isis::Application::Application |
( |
int & | argc, |
|
|
char * | argv[] ) |
Constuctor for the Application object.
- Parameters
-
argc | Number of arguments in argv[]. This must be passed by reference!! |
*argv[] | An array containing the command line arguments |
- Exceptions
-
Isis::iException::Io | - FileOpen error |
References _FILEINFO_, DateTime(), Isis::FileName::expanded(), Isis::FileName::fileExists(), Isis::Message::FileOpen(), GetUserInterface(), Isis::iApp, Isis::IException::Io, Isis::UserInterface::IsInteractive(), Isis::FileName::name(), p_applicationForceGuiApp, Isis::Preference::Preferences(), Isis::toString(), and UserName().
◆ ~Application()
Isis::Application::~Application |
( |
| ) |
|
◆ Accounting()
PvlGroup Isis::Application::Accounting |
( |
| ) |
|
◆ DateTime()
QString Isis::Application::DateTime |
( |
time_t * | curtime = 0 | ) |
|
|
static |
◆ getEnvironmentValue()
QString Isis::Environment::getEnvironmentValue |
( |
QString | variable, |
|
|
QString | defaultValue ) |
|
staticinherited |
◆ GetGuiHelper()
void * Isis::Application::GetGuiHelper |
( |
QString | helper | ) |
|
|
inline |
◆ GetUserInterface()
Returns the UserInterface object.
- Returns
- A pointer to the UserInterface object
References Isis::iApp.
Referenced by Isis::PipelineApplication::AddParameter(), Isis::PipelineApplication::AddParameter(), Application(), GuiLog(), GuiLog(), GuiLog(), Log(), Isis::Process::SetInputCube(), Isis::Pipeline::SetInputFile(), Isis::Pipeline::SetInputFile(), Isis::Pipeline::SetInputListFile(), Isis::ProcessExport::SetInputRange(), Isis::ProcessImport::SetOutputCube(), Isis::Process::SetOutputCube(), Isis::ProcessMosaic::SetOutputCube(), Isis::Process::SetOutputCubeStretch(), Isis::Pipeline::SetOutputFile(), Isis::Pipeline::SetOutputListFile(), Isis::ProcessPolygons::SetStatCubes(), Isis::ProcessGroundPolygons::SetStatCubes(), Isis::ProcessGroundPolygons::SetStatCubes(), and Isis::Gui::ShowWarning().
◆ GuiLog() [1/3]
void Isis::Application::GuiLog |
( |
const Pvl & | results | ) |
|
|
static |
◆ GuiLog() [2/3]
void Isis::Application::GuiLog |
( |
const PvlGroup & | results | ) |
|
|
static |
◆ GuiLog() [3/3]
void Isis::Application::GuiLog |
( |
const QString & | results | ) |
|
|
static |
Writes the results to the sessionlog, but not to the printfile.
- Parameters
-
results | QString containing the results to add to the session log |
References GetUserInterface(), HasParent(), and Isis::iApp.
◆ GuiReportError()
void Isis::Application::GuiReportError |
( |
IException & | e | ) |
|
◆ HasParent()
bool Isis::Application::HasParent |
( |
| ) |
|
|
static |
◆ History()
◆ HostName()
QString Isis::Application::HostName |
( |
| ) |
|
|
static |
◆ hostName()
QString Isis::Environment::hostName |
( |
| ) |
|
|
staticinherited |
◆ isisVersion()
QString Isis::Environment::isisVersion |
( |
| ) |
|
|
staticinherited |
◆ Log()
void Isis::Application::Log |
( |
PvlGroup & | results | ) |
|
|
static |
◆ Name()
QString Isis::Application::Name |
( |
| ) |
|
|
static |
◆ RegisterGuiHelpers()
void Isis::Application::RegisterGuiHelpers |
( |
std::map< QString, void * > | helpers | ) |
|
|
inline |
◆ Run()
int Isis::Application::Run |
( |
void(*)() | funct | ) |
|
Runs the program defined in the function funct.
- Parameters
-
- Returns
- int Status of the function execution
References _FILEINFO_, Isis::UserInterface::AbortOnError(), Isis::UserInterface::BatchListSize(), DateTime(), Isis::Gui::Exec(), Isis::UserInterface::IsInteractive(), Isis::UserInterface::SaveHistory(), Isis::UserInterface::SetBatchList(), Isis::UserInterface::SetErrorList(), Isis::UserInterface::TheGui(), Isis::SessionLog::TheLog(), and IsisAml::VerifyAll().
◆ UserName()
QString Isis::Application::UserName |
( |
| ) |
|
|
static |
◆ userName()
QString Isis::Environment::userName |
( |
| ) |
|
|
staticinherited |
◆ Version()
QString Isis::Application::Version |
( |
| ) |
|
|
static |
◆ Gui
◆ ProgramLauncher
◆ Progress
◆ p_applicationForceGuiApp
bool Isis::Application::p_applicationForceGuiApp = false |
|
static |
The documentation for this class was generated from the following files: