LLFloaterReporter Class Reference

#include <llfloaterreporter.h>

Inheritance diagram for LLFloaterReporter:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterReporter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFloaterReporter (const std::string &name, const LLRect &rect, const std::string &title, EReportType=UNKNOWN_REPORT)
 ~LLFloaterReporter ()
virtual void draw ()
void setPickedObjectProperties (const LLString &object_name, const LLString &owner_name, const LLUUID owner_id)

Static Public Member Functions

static void showFromMenu (EReportType report_type)
static void showFromObject (const LLUUID &object_id)
static void onClickSend (void *userdata)
static void onClickCancel (void *userdata)
static void onClickObjPicker (void *userdata)
static void onClickSelectAbuser (void *userdata)
static void closePickTool (void *userdata)
static void uploadDoneCallback (const LLUUID &uuid, void *user_data, S32 result, LLExtStat ext_status)
static void addDescription (const LLString &description, LLMeanCollisionData *mcd=NULL)
static void setDescription (const LLString &description, LLMeanCollisionData *mcd=NULL)
static LLFloaterReportergetReporter (EReportType report_type)
static LLFloaterReportercreateNewAbuseReporter ()
static LLFloaterReportercreateNewBugReporter ()
static void processRegionInfo (LLMessageSystem *msg)

Private Member Functions

void takeScreenshot ()
void sendReportViaCaps (std::string url)
void uploadImage ()
bool validateReport ()
void setReporterID ()
LLSD gatherReport ()
void sendReportViaLegacy (const LLSD &report)
void sendReportViaCaps (std::string url, std::string sshot_url, const LLSD &report)
void setPosBox (const LLVector3d &pos)
void enableControls (BOOL own_avatar)
void getObjectInfo (const LLUUID &object_id)

Static Private Member Functions

static void callbackAvatarID (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *data)

Private Attributes

EReportType mReportType
LLUUID mObjectID
LLUUID mScreenID
LLUUID mAbuserID
BOOL mDeselectOnClose
BOOL mPicking
LLVector3 mPosition
BOOL mCopyrightWarningSeen
std::list< LLMeanCollisionData * > mMCDList
LLString mDefaultSummary
LLResourceDatamResourceDatap


Detailed Description

Definition at line 80 of file llfloaterreporter.h.


Constructor & Destructor Documentation

LLFloaterReporter::LLFloaterReporter ( const std::string &  name,
const LLRect rect,
const std::string &  title,
EReportType  report_type = UNKNOWN_REPORT 
)

LLFloaterReporter::~LLFloaterReporter (  ) 


Member Function Documentation

void LLFloaterReporter::draw ( void   )  [virtual]

Reimplemented from LLFloater.

Definition at line 239 of file llfloaterreporter.cpp.

References BUG_REPORT, LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLFloater::draw(), FALSE, gEmailToEstateOwner, mReportType, and TRUE.

Here is the call graph for this function:

void LLFloaterReporter::showFromMenu ( EReportType  report_type  )  [static]

void LLFloaterReporter::showFromObject ( const LLUUID object_id  )  [static]

Definition at line 528 of file llfloaterreporter.cpp.

References LLAgent::buildFullname(), LLFloater::center(), LLPanel::childSetText(), createNewAbuseReporter(), gAgent, getObjectInfo(), mDeselectOnClose, LLFloater::open(), LLFloater::setFocus(), and TRUE.

Referenced by LLObjectReportAbuse::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::onClickSend ( void *  userdata  )  [static]

void LLFloaterReporter::onClickCancel ( void *  userdata  )  [static]

Definition at line 438 of file llfloaterreporter.cpp.

References closePickTool(), and FALSE.

Referenced by LLFloaterReporter().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::onClickObjPicker ( void *  userdata  )  [static]

void LLFloaterReporter::onClickSelectAbuser ( void *  userdata  )  [static]

Definition at line 352 of file llfloaterreporter.cpp.

References LLFloater::addDependentFloater(), callbackAvatarID(), FALSE, LLFloaterView::getParentFloater(), gFloaterView, LLFloaterAvatarPicker::show(), and TRUE.

Referenced by LLFloaterReporter().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::closePickTool ( void *  userdata  )  [static]

void LLFloaterReporter::uploadDoneCallback ( const LLUUID uuid,
void *  user_data,
S32  result,
LLExtStat  ext_status 
) [static]

Definition at line 932 of file llfloaterreporter.cpp.

References LLViewerWindow::alertXml(), BUG_REPORT, COMPLAINT_REPORT, LLAssetStorage::getErrorString(), getReporter(), gViewerWindow, llendl, llinfos, llwarns, LLUploadDialog::modalUploadFinished(), LLResourceData::mPreferredLocation, and UNKNOWN_REPORT.

Referenced by uploadImage().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::addDescription ( const LLString description,
LLMeanCollisionData mcd = NULL 
) [static]

Definition at line 1001 of file llfloaterreporter.cpp.

References COMPLAINT_REPORT, and LLTextEditor::insertText().

Here is the call graph for this function:

void LLFloaterReporter::setDescription ( const LLString description,
LLMeanCollisionData mcd = NULL 
) [static]

Definition at line 985 of file llfloaterreporter.cpp.

References COMPLAINT_REPORT.

LLFloaterReporter * LLFloaterReporter::getReporter ( EReportType  report_type  )  [static]

Definition at line 550 of file llfloaterreporter.cpp.

References LLMap< INDEX_TYPE, MAPPED_TYPE >::checkData(), LLMap< INDEX_TYPE, MAPPED_TYPE >::getData(), and NULL.

Referenced by LLSelectMgr::processObjectPropertiesFamily(), and uploadDoneCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFloaterReporter * LLFloaterReporter::createNewAbuseReporter (  )  [static]

Definition at line 561 of file llfloaterreporter.cpp.

References COMPLAINT_REPORT, and LLFloaterReporter().

Referenced by showFromMenu(), and showFromObject().

Here is the call graph for this function:

Here is the caller graph for this function:

LLFloaterReporter * LLFloaterReporter::createNewBugReporter (  )  [static]

Definition at line 570 of file llfloaterreporter.cpp.

References BUG_REPORT, and LLFloaterReporter().

Referenced by showFromMenu().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::processRegionInfo ( LLMessageSystem msg  )  [static]

Definition at line 200 of file llfloaterreporter.cpp.

References LLViewerWindow::alertXml(), gDialogVisible, gEmailToEstateOwner, LLMessageSystem::getU32(), gViewerWindow, and REGION_FLAGS_ABUSE_EMAIL_TO_ESTATE_OWNER.

Referenced by LLViewerRegion::processRegionInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::setPickedObjectProperties ( const LLString object_name,
const LLString owner_name,
const LLUUID  owner_id 
)

Definition at line 580 of file llfloaterreporter.cpp.

References LLPanel::childSetText(), and mAbuserID.

Referenced by LLSelectMgr::processObjectPropertiesFamily().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::takeScreenshot (  )  [private]

void LLFloaterReporter::sendReportViaCaps ( std::string  url  )  [private]

void LLFloaterReporter::uploadImage (  )  [private]

bool LLFloaterReporter::validateReport (  )  [private]

void LLFloaterReporter::setReporterID (  )  [private]

LLSD LLFloaterReporter::gatherReport (  )  [private]

void LLFloaterReporter::sendReportViaLegacy ( const LLSD report  )  [private]

void LLFloaterReporter::sendReportViaCaps ( std::string  url,
std::string  sshot_url,
const LLSD report 
) [private]

Definition at line 842 of file llfloaterreporter.cpp.

References LLPanel::childGetValue(), LLResourceData::mAssetInfo, mResourceDatap, LLAssetInfo::mType, LLAssetInfo::mUuid, and LLHTTPClient::post().

Here is the call graph for this function:

void LLFloaterReporter::setPosBox ( const LLVector3d pos  )  [private]

Definition at line 975 of file llfloaterreporter.cpp.

References LLPanel::childSetText(), llformat(), mPosition, LLVector3::mV, LLVector3::setVec(), VX, VY, and VZ.

Referenced by getObjectInfo(), and LLFloaterReporter().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::enableControls ( BOOL  own_avatar  )  [private]

Definition at line 257 of file llfloaterreporter.cpp.

References BUG_REPORT, LLPanel::childDisable(), LLPanel::childSetEnabled(), and mReportType.

Referenced by LLFloaterReporter().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterReporter::getObjectInfo ( const LLUUID object_id  )  [private]

void LLFloaterReporter::callbackAvatarID ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void *  data 
) [static, private]

Definition at line 360 of file llfloaterreporter.cpp.

References BUG_REPORT.

Referenced by onClickSelectAbuser().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 132 of file llfloaterreporter.h.

Referenced by gatherReport(), getObjectInfo(), and ~LLFloaterReporter().

Definition at line 133 of file llfloaterreporter.h.

Definition at line 134 of file llfloaterreporter.h.

Referenced by gatherReport(), getObjectInfo(), and setPickedObjectProperties().

Definition at line 135 of file llfloaterreporter.h.

Referenced by showFromObject().

Definition at line 136 of file llfloaterreporter.h.

Referenced by ~LLFloaterReporter().

Definition at line 137 of file llfloaterreporter.h.

Referenced by gatherReport(), setPosBox(), and ~LLFloaterReporter().

Definition at line 138 of file llfloaterreporter.h.

Referenced by gatherReport().

Definition at line 139 of file llfloaterreporter.h.

Referenced by ~LLFloaterReporter().

Definition at line 140 of file llfloaterreporter.h.

Referenced by LLFloaterReporter(), and validateReport().


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

Generated on Fri May 16 08:46:27 2008 for SecondLife by  doxygen 1.5.5