Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Isis 3 Programmer Reference
Isis::SessionLog Class Reference

#include <SessionLog.h>

Inheritance diagram for Isis::SessionLog:
Inheritance graph
Collaboration diagram for Isis::SessionLog:
Collaboration graph

Public Member Functions

void AddResults (Isis::PvlGroup &results)
 
void Write ()
 
void AddError (Isis::Pvl &e)
 
bool TerminalOutput ()
 

Static Public Member Functions

static SessionLogTheLog (bool restart=false)
 
static bool HasLog ()
 

Private Member Functions

void AddAccounting ()
 

Static Private Member Functions

static void Shutdown ()
 

Private Attributes

PvlObject * p_root
 
bool p_errorAdded
 
bool p_termOutput
 
bool p_fileOutput
 
QString p_outputFile
 
QString p_access
 
bool p_acctAdded
 

Static Private Attributes

static SessionLogp_log = NULL
 

Friends

std::ostream & operator<< (std::ostream &os, Isis::SessionLog &log)
 

Detailed Description

Author
????-??-?? Unknown
History

2005-12-28 Elizabeth Miller - Added try/catch block in Write() to catch an error that causes an abort

2008-01-09 Steven Lambright - Made Application a friend for destruction purposes

2008-07-08 Steven Lambright - Now uses atexit for destruction

Definition at line 24 of file SessionLog.h.

Constructor & Destructor Documentation

◆ SessionLog()

Isis::SessionLog::SessionLog ( )
private

Definition at line 15 of file SessionLog.cpp.

◆ ~SessionLog()

Isis::SessionLog::~SessionLog ( )
private

Definition at line 33 of file SessionLog.cpp.

Member Function Documentation

◆ AddAccounting()

void Isis::SessionLog::AddAccounting ( )
private

Definition at line 77 of file SessionLog.cpp.

◆ AddError()

void Isis::SessionLog::AddError ( Isis::Pvl & e)

Definition at line 87 of file SessionLog.cpp.

◆ AddResults()

void Isis::SessionLog::AddResults ( Isis::PvlGroup & results)

Definition at line 97 of file SessionLog.cpp.

◆ HasLog()

static bool Isis::SessionLog::HasLog ( )
inlinestatic

Definition at line 27 of file SessionLog.h.

◆ Shutdown()

void Isis::SessionLog::Shutdown ( )
staticprivate

Definition at line 106 of file SessionLog.cpp.

◆ TerminalOutput()

bool Isis::SessionLog::TerminalOutput ( )
inline

Definition at line 41 of file SessionLog.h.

◆ TheLog()

SessionLog & Isis::SessionLog::TheLog ( bool restart = false)
static

Definition at line 39 of file SessionLog.cpp.

◆ Write()

void Isis::SessionLog::Write ( )

Definition at line 53 of file SessionLog.cpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
Isis::SessionLog & log )
friend

Definition at line 101 of file SessionLog.cpp.

Member Data Documentation

◆ p_access

QString Isis::SessionLog::p_access
private

Definition at line 55 of file SessionLog.h.

◆ p_acctAdded

bool Isis::SessionLog::p_acctAdded
private

Definition at line 59 of file SessionLog.h.

◆ p_errorAdded

bool Isis::SessionLog::p_errorAdded
private

Definition at line 50 of file SessionLog.h.

◆ p_fileOutput

bool Isis::SessionLog::p_fileOutput
private

Definition at line 53 of file SessionLog.h.

◆ p_log

SessionLog * Isis::SessionLog::p_log = NULL
staticprivate

Definition at line 57 of file SessionLog.h.

◆ p_outputFile

QString Isis::SessionLog::p_outputFile
private

Definition at line 54 of file SessionLog.h.

◆ p_root

PvlObject* Isis::SessionLog::p_root
private

Definition at line 49 of file SessionLog.h.

◆ p_termOutput

bool Isis::SessionLog::p_termOutput
private

Definition at line 52 of file SessionLog.h.


The documentation for this class was generated from the following files: