LLCrashLogger Class Reference

#include <llcrashlogger.h>

Inheritance diagram for LLCrashLogger:

Inheritance graph
[legend]
Collaboration diagram for LLCrashLogger:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLCrashLogger ()
virtual ~LLCrashLogger ()
S32 loadCrashBehaviorSetting ()
void gatherFiles ()
virtual void gatherPlatformSpecificFiles ()
bool saveCrashBehaviorSetting (S32 crash_behavior)
bool sendCrashLogs ()
LLSD constructPostData ()
virtual void updateApplication (LLString message="")
virtual bool init ()
virtual bool mainLoop ()=0
virtual bool cleanup ()
void setUserText (LLString &text)
S32 getCrashBehavior ()
bool runCrashLogPost (LLString host, LLSD data, LLString msg, int retries, int timeout)

Protected Attributes

S32 mCrashBehavior
BOOL mCrashInPreviousExec
std::map< LLString, LLStringmFileMap
LLString mGridName
LLControlGroup mCrashSettings
LLString mProductName
LLSD mCrashInfo
LLString mCrashHost
LLString mAltCrashHost
LLSD mDebugLog
bool mSentCrashLogs


Detailed Description

Definition at line 42 of file llcrashlogger.h.


Constructor & Destructor Documentation

LLCrashLogger::LLCrashLogger (  ) 

Definition at line 85 of file llcrashlogger.cpp.

LLCrashLogger::~LLCrashLogger (  )  [virtual]

Definition at line 94 of file llcrashlogger.cpp.


Member Function Documentation

S32 LLCrashLogger::loadCrashBehaviorSetting (  ) 

Definition at line 190 of file llcrashlogger.cpp.

References CRASH_BEHAVIOR_ASK, CRASH_BEHAVIOR_NEVER_SEND, CRASH_BEHAVIOR_SETTING, CRASH_SETTINGS_FILE, gDirUtilp, LLDir::getExpandedFilename(), LLControlGroup::getS32(), LL_PATH_USER_SETTINGS, LLControlGroup::loadFromFile(), mCrashSettings, and S32.

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCrashLogger::gatherFiles (  ) 

virtual void LLCrashLogger::gatherPlatformSpecificFiles (  )  [inline, virtual]

Reimplemented in LLCrashLoggerLinux, LLCrashLoggerMac, and LLCrashLoggerWindows.

Definition at line 49 of file llcrashlogger.h.

Referenced by gatherFiles().

Here is the caller graph for this function:

bool LLCrashLogger::saveCrashBehaviorSetting ( S32  crash_behavior  ) 

bool LLCrashLogger::sendCrashLogs (  ) 

LLSD LLCrashLogger::constructPostData (  ) 

Definition at line 178 of file llcrashlogger.cpp.

References mCrashInfo, and mCrashInPreviousExec.

Referenced by sendCrashLogs().

Here is the caller graph for this function:

void LLCrashLogger::updateApplication ( LLString  message = ""  )  [virtual]

bool LLCrashLogger::init ( void   )  [virtual]

virtual bool LLCrashLogger::mainLoop (  )  [pure virtual]

virtual bool LLCrashLogger::cleanup (  )  [inline, virtual]

Implements LLApp.

Reimplemented in LLCrashLoggerMac, and LLCrashLoggerWindows.

Definition at line 56 of file llcrashlogger.h.

Referenced by main().

Here is the caller graph for this function:

void LLCrashLogger::setUserText ( LLString text  )  [inline]

Definition at line 57 of file llcrashlogger.h.

References mCrashInfo.

Referenced by handle_button_click(), and LLCrashLoggerMac::mainLoop().

Here is the caller graph for this function:

S32 LLCrashLogger::getCrashBehavior (  )  [inline]

Definition at line 58 of file llcrashlogger.h.

References mCrashBehavior.

bool LLCrashLogger::runCrashLogPost ( LLString  host,
LLSD  data,
LLString  msg,
int  retries,
int  timeout 
)

Definition at line 215 of file llcrashlogger.cpp.

References gBreak, gSent, i, llformat(), LLHTTPClient::post(), and updateApplication().

Referenced by sendCrashLogs().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 62 of file llcrashlogger.h.

Referenced by constructPostData(), init(), and LLCrashLoggerWindows::mainLoop().

std::map<LLString, LLString> LLCrashLogger::mFileMap [protected]

Definition at line 64 of file llcrashlogger.h.

Definition at line 65 of file llcrashlogger.h.

Referenced by init(), loadCrashBehaviorSetting(), and saveCrashBehaviorSetting().

Definition at line 66 of file llcrashlogger.h.

Referenced by init(), and LLCrashLoggerWindows::mainLoop().

Definition at line 68 of file llcrashlogger.h.

Referenced by gatherFiles(), and sendCrashLogs().

Definition at line 69 of file llcrashlogger.h.

Referenced by gatherFiles(), and sendCrashLogs().

Definition at line 71 of file llcrashlogger.h.

Referenced by LLCrashLoggerWindows::cleanup(), and sendCrashLogs().


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

Generated on Fri May 16 08:43:22 2008 for SecondLife by  doxygen 1.5.5