LLFloaterTrustNetRate Class Reference

#include <llfloatertrustnetrate.h>

Inheritance diagram for LLFloaterTrustNetRate:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterTrustNetRate:

Collaboration graph
[legend]
List of all members.

Public Types

 RS_CREATOR
 RS_OWNER
enum  ERateSelection { RS_CREATOR, RS_OWNER }

Public Member Functions

virtual void draw ()

Static Public Member Functions

static void show (const LLUUID &avatar_id)
static void show (ERateSelection which)
static void processReputationIndividualReply (LLMessageSystem *msg, void **)

Protected Types

typedef std::map< LLUUID,
LLFloaterTrustNetRate * > 
instance_map_t

Protected Member Functions

 LLFloaterTrustNetRate (const std::string &name, const LLUUID &id)
virtual ~LLFloaterTrustNetRate ()
void sendReputationIndividualRequest (const LLUUID &avatar_id)

Static Protected Member Functions

static void onClickOK (void *data)
static void onClickCancel (void *data)

Protected Attributes

LLUUID mAvatarID
F32 mLastBehavior
F32 mLastAppearance
F32 mLastBuilding
BOOL mReputationRequested
LLHandle< LLObjectSelectionmObjectSelection

Static Protected Attributes

static instance_map_t sInstanceMap

Detailed Description

Definition at line 46 of file llfloatertrustnetrate.h.


Member Typedef Documentation

typedef std::map<LLUUID, LLFloaterTrustNetRate *> LLFloaterTrustNetRate::instance_map_t [protected]

Definition at line 77 of file llfloatertrustnetrate.h.


Member Enumeration Documentation

enum LLFloaterTrustNetRate::ERateSelection

Enumerator:
RS_CREATOR 
RS_OWNER 

Definition at line 56 of file llfloatertrustnetrate.h.


Constructor & Destructor Documentation

LLFloaterTrustNetRate::LLFloaterTrustNetRate ( const std::string &  name,
const LLUUID id 
) [protected]

Definition at line 60 of file llfloatertrustnetrate.cpp.

References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLSelectMgr::getEditSelection(), gSelectMgr, gUICtrlFactory, mObjectSelection, onClickCancel(), and onClickOK().

Referenced by show().

LLFloaterTrustNetRate::~LLFloaterTrustNetRate (  )  [protected, virtual]

Definition at line 77 of file llfloatertrustnetrate.cpp.

References mAvatarID, and sInstanceMap.


Member Function Documentation

void LLFloaterTrustNetRate::draw (  )  [virtual]

Reimplemented from LLFloater.

Definition at line 83 of file llfloatertrustnetrate.cpp.

References LLSD::asString(), can_afford_transaction(), LLPanel::childGetValue(), LLPanel::childSetEnabled(), LLPanel::childSetTextArg(), LLFloater::draw(), gCacheName, LLCacheName::getName(), llformat(), mAvatarID, MAX_STRING, mLastAppearance, mLastBehavior, mLastBuilding, mReputationRequested, RATING_COST, S32, sendReputationIndividualRequest(), and LLFloater::setTitle().

void LLFloaterTrustNetRate::onClickCancel ( void data  )  [static, protected]

Definition at line 207 of file llfloatertrustnetrate.cpp.

Referenced by LLFloaterTrustNetRate().

void LLFloaterTrustNetRate::onClickOK ( void data  )  [static, protected]

Definition at line 176 of file llfloatertrustnetrate.cpp.

References S32.

Referenced by LLFloaterTrustNetRate().

void LLFloaterTrustNetRate::processReputationIndividualReply ( LLMessageSystem msg,
void **   
) [static]

Definition at line 228 of file llfloatertrustnetrate.cpp.

void LLFloaterTrustNetRate::sendReputationIndividualRequest ( const LLUUID avatar_id  )  [protected]

Definition at line 214 of file llfloatertrustnetrate.cpp.

Referenced by draw().

void LLFloaterTrustNetRate::show ( ERateSelection  which  )  [static]

Definition at line 148 of file llfloatertrustnetrate.cpp.

References LLViewerWindow::alertXml(), gSelectMgr, gViewerWindow, LLUUID::null, RS_CREATOR, RS_OWNER, LLSelectMgr::selectGetCreator(), LLSelectMgr::selectGetOwner(), and show().

void LLFloaterTrustNetRate::show ( const LLUUID avatar_id  )  [static]

Definition at line 127 of file llfloatertrustnetrate.cpp.

References f, LLFloaterTrustNetRate(), LLUUID::null, sInstanceMap, and TRUE.

Referenced by LLAvatarTrustNetRate::handleEvent(), and show().


Member Data Documentation

LLUUID LLFloaterTrustNetRate::mAvatarID [protected]

Definition at line 81 of file llfloatertrustnetrate.h.

Referenced by draw(), and ~LLFloaterTrustNetRate().

F32 LLFloaterTrustNetRate::mLastAppearance [protected]

Definition at line 83 of file llfloatertrustnetrate.h.

Referenced by draw().

F32 LLFloaterTrustNetRate::mLastBehavior [protected]

Definition at line 82 of file llfloatertrustnetrate.h.

Referenced by draw().

F32 LLFloaterTrustNetRate::mLastBuilding [protected]

Definition at line 84 of file llfloatertrustnetrate.h.

Referenced by draw().

LLHandle<LLObjectSelection> LLFloaterTrustNetRate::mObjectSelection [protected]

Definition at line 86 of file llfloatertrustnetrate.h.

Referenced by LLFloaterTrustNetRate().

BOOL LLFloaterTrustNetRate::mReputationRequested [protected]

Definition at line 85 of file llfloatertrustnetrate.h.

Referenced by draw().

LLFloaterTrustNetRate::instance_map_t LLFloaterTrustNetRate::sInstanceMap [static, protected]

Definition at line 78 of file llfloatertrustnetrate.h.

Referenced by show(), and ~LLFloaterTrustNetRate().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:21 2010 for Second Life Viewer by  doxygen 1.4.7