LLPanelAvatar Class Reference

#include <llpanelavatar.h>

Inheritance diagram for LLPanelAvatar:

Inheritance graph
[legend]
Collaboration diagram for LLPanelAvatar:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelAvatar (const std::string &name, const LLRect &rect, BOOL allow_edit)
 ~LLPanelAvatar ()
BOOL postBuild (void)
BOOL canClose ()
void setAvatar (LLViewerObject *avatarp)
void setAvatarID (const LLUUID &avatar_id, const LLString &name, EOnlineStatus online_status)
void setOnlineStatus (EOnlineStatus online_status)
const LLUUIDgetAvatarID () const
void resetGroupList ()
void sendAvatarStatisticsRequest ()
void sendAvatarPropertiesRequest ()
void sendAvatarPropertiesUpdate ()
void sendAvatarNotesRequest ()
void sendAvatarNotesUpdate ()
void sendAvatarPicksRequest ()
void selectTab (S32 tabnum)
void selectTabByName (std::string tab_name)
BOOL haveData ()
BOOL isEditable () const

Static Public Member Functions

static void processAvatarPropertiesReply (LLMessageSystem *msg, void **)
static void processAvatarInterestsReply (LLMessageSystem *msg, void **)
static void processAvatarGroupsReply (LLMessageSystem *msg, void **)
static void processAvatarNotesReply (LLMessageSystem *msg, void **)
static void processAvatarPicksReply (LLMessageSystem *msg, void **)
static void processAvatarClassifiedReply (LLMessageSystem *msg, void **)
static void onClickTrack (void *userdata)
static void onClickIM (void *userdata)
static void onClickOfferTeleport (void *userdata)
static void onClickPay (void *userdata)
static void onClickAddFriend (void *userdata)
static void onClickOK (void *userdata)
static void onClickCancel (void *userdata)
static void onClickKick (void *userdata)
static void onClickFreeze (void *userdata)
static void onClickUnfreeze (void *userdata)
static void onClickCSR (void *userdata)
static void onClickMute (void *userdata)

Public Attributes

LLPanelAvatarSecondLifemPanelSecondLife
LLPanelAvatarAdvancedmPanelAdvanced
LLPanelAvatarClassifiedmPanelClassified
LLPanelAvatarPicksmPanelPicks
LLPanelAvatarNotesmPanelNotes
LLPanelAvatarFirstLifemPanelFirstLife
LLPanelAvatarWebmPanelWeb
LLDropTargetmDropTarget

Static Public Attributes

static BOOL sAllowFirstLife = FALSE

Private Types

typedef std::list
< LLPanelAvatar * > 
panel_list_t

Private Member Functions

void enableOKIfReady ()

Static Private Member Functions

static void finishKick (S32 option, const LLString &text, void *userdata)
static void finishFreeze (S32 option, const LLString &text, void *userdata)
static void finishUnfreeze (S32 option, const LLString &text, void *userdata)
static void showProfileCallback (S32 option, void *userdata)
static void * createPanelAvatar (void *data)
static void * createFloaterAvatarInfo (void *data)
static void * createPanelAvatarSecondLife (void *data)
static void * createPanelAvatarWeb (void *data)
static void * createPanelAvatarInterests (void *data)
static void * createPanelAvatarPicks (void *data)
static void * createPanelAvatarClassified (void *data)
static void * createPanelAvatarFirstLife (void *data)
static void * createPanelAvatarNotes (void *data)

Private Attributes

LLUUID mAvatarID
BOOL mIsFriend
BOOL mHaveProperties
BOOL mHaveStatistics
bool mHaveNotes
std::string mLastNotes
LLTabContainermTab
BOOL mAllowEdit

Static Private Attributes

static panel_list_t sAllPanels


Detailed Description

Definition at line 265 of file llpanelavatar.h.


Member Typedef Documentation

typedef std::list<LLPanelAvatar*> LLPanelAvatar::panel_list_t [private]

Definition at line 372 of file llpanelavatar.h.


Constructor & Destructor Documentation

LLPanelAvatar::LLPanelAvatar ( const std::string &  name,
const LLRect rect,
BOOL  allow_edit 
)

LLPanelAvatar::~LLPanelAvatar (  ) 

Definition at line 1261 of file llpanelavatar.cpp.

References sAllPanels.


Member Function Documentation

BOOL LLPanelAvatar::postBuild ( void   )  [virtual]

BOOL LLPanelAvatar::canClose (  ) 

Definition at line 1267 of file llpanelavatar.cpp.

References LLPanelAvatarClassified::canClose(), and mPanelClassified.

Referenced by LLFloaterAvatarInfo::canClose().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::setAvatar ( LLViewerObject avatarp  ) 

Definition at line 1272 of file llpanelavatar.cpp.

References LLViewerObject::getID(), LLViewerObject::getNVPair(), LLNameValue::getString(), ONLINE_STATUS_YES, and setAvatarID().

Here is the call graph for this function:

void LLPanelAvatar::setAvatarID ( const LLUUID avatar_id,
const LLString name,
EOnlineStatus  online_status 
)

void LLPanelAvatar::setOnlineStatus ( EOnlineStatus  online_status  ) 

const LLUUID& LLPanelAvatar::getAvatarID (  )  const [inline]

void LLPanelAvatar::resetGroupList (  ) 

void LLPanelAvatar::sendAvatarStatisticsRequest (  ) 

void LLPanelAvatar::sendAvatarPropertiesRequest (  ) 

void LLPanelAvatar::sendAvatarPropertiesUpdate (  ) 

void LLPanelAvatar::sendAvatarNotesRequest (  ) 

void LLPanelAvatar::sendAvatarNotesUpdate (  ) 

void LLPanelAvatar::sendAvatarPicksRequest (  ) 

void LLPanelAvatar::selectTab ( S32  tabnum  ) 

Definition at line 2092 of file llpanelavatar.cpp.

References mTab, and LLTabContainer::selectTab().

Referenced by LLFloaterAvatarInfo::LLFloaterAvatarInfo(), LLFloaterDirectory::LLFloaterDirectory(), and LLPanelAvatar().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::selectTabByName ( std::string  tab_name  ) 

Definition at line 2100 of file llpanelavatar.cpp.

References mTab, LLTabContainer::selectFirstTab(), and LLTabContainer::selectTabByName().

Referenced by LLFloaterAvatarInfo::showFromObject().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelAvatar::haveData (  )  [inline]

Definition at line 303 of file llpanelavatar.h.

References mHaveProperties, and mHaveStatistics.

Referenced by LLFloaterAvatarInfo::getAssetStatus().

Here is the caller graph for this function:

BOOL LLPanelAvatar::isEditable (  )  const [inline]

Definition at line 304 of file llpanelavatar.h.

References mAllowEdit.

void LLPanelAvatar::processAvatarPropertiesReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelAvatar::processAvatarInterestsReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelAvatar::processAvatarGroupsReply ( LLMessageSystem msg,
void **   
) [static]

void LLPanelAvatar::processAvatarNotesReply ( LLMessageSystem msg,
void **   
) [static]

Definition at line 2116 of file llpanelavatar.cpp.

References DB_USER_NOTE_SIZE, LLMessageSystem::getString(), LLMessageSystem::getUUID(), and sAllPanels.

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::processAvatarPicksReply ( LLMessageSystem msg,
void **  userdata 
) [static]

Definition at line 2165 of file llpanelavatar.cpp.

References LLMessageSystem::getUUID(), and sAllPanels.

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::processAvatarClassifiedReply ( LLMessageSystem msg,
void **  userdata 
) [static]

Definition at line 2144 of file llpanelavatar.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_TargetID, LLMessageSystem::getUUIDFast(), and sAllPanels.

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickTrack ( void *  userdata  )  [static]

Definition at line 1560 of file llpanelavatar.cpp.

References LLLineEditor::getText(), gFloaterWorldMap, NULL, LLFloaterWorldMap::show(), LLFloaterWorldMap::trackAvatar(), and TRUE.

Referenced by LLPanelAvatarSecondLife::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickIM ( void *  userdata  )  [static]

Definition at line 1544 of file llpanelavatar.cpp.

References LLIMMgr::addSession(), LLLineEditor::getText(), gIMMgr, IM_NOTHING_SPECIAL, LLIMMgr::setFloaterOpen(), and TRUE.

Referenced by LLPanelAvatarSecondLife::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickOfferTeleport ( void *  userdata  )  [static]

Definition at line 1616 of file llpanelavatar.cpp.

References handle_lure().

Referenced by LLPanelAvatarSecondLife::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickPay ( void *  userdata  )  [static]

Definition at line 1625 of file llpanelavatar.cpp.

References handle_pay_by_id().

Referenced by LLPanelAvatarSecondLife::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickAddFriend ( void *  userdata  )  [static]

Definition at line 1576 of file llpanelavatar.cpp.

References LLLineEditor::getText(), and LLPanelFriends::requestFriendshipDialog().

Referenced by LLPanelAvatarSecondLife::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickOK ( void *  userdata  )  [static]

Definition at line 1633 of file llpanelavatar.cpp.

References LLFloater::close(), LLTabContainer::getCurrentPanel(), and LLFloaterAvatarInfo::getInstance().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1673 of file llpanelavatar.cpp.

References LLFloater::close(), and LLFloaterAvatarInfo::getInstance().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickKick ( void *  userdata  )  [static]

Definition at line 2187 of file llpanelavatar.cpp.

References LLViewerWindow::alertXmlEditText(), finishKick(), LLFloaterView::getNewFloaterPosition(), gFloaterView, gViewerWindow, NULL, and S32.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickFreeze ( void *  userdata  )  [static]

Definition at line 2221 of file llpanelavatar.cpp.

References LLViewerWindow::alertXmlEditText(), finishFreeze(), gViewerWindow, and NULL.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickUnfreeze ( void *  userdata  )  [static]

Definition at line 2249 of file llpanelavatar.cpp.

References LLViewerWindow::alertXmlEditText(), finishUnfreeze(), gViewerWindow, and NULL.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickCSR ( void *  userdata  )  [static]

Definition at line 2277 of file llpanelavatar.cpp.

References LLLineEditor::getText(), i, LLWeb::loadURL(), and S32.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelAvatar::onClickMute ( void *  userdata  )  [static]

void LLPanelAvatar::enableOKIfReady (  )  [private]

Definition at line 2008 of file llpanelavatar.cpp.

References LLPanel::childIsVisible(), LLPanel::childSetEnabled(), FALSE, mHaveProperties, and TRUE.

Here is the call graph for this function:

void LLPanelAvatar::finishKick ( S32  option,
const LLString text,
void *  userdata 
) [static, private]

void LLPanelAvatar::finishFreeze ( S32  option,
const LLString text,
void *  userdata 
) [static, private]

void LLPanelAvatar::finishUnfreeze ( S32  option,
const LLString text,
void *  userdata 
) [static, private]

static void LLPanelAvatar::showProfileCallback ( S32  option,
void *  userdata 
) [static, private]

static void* LLPanelAvatar::createPanelAvatar ( void *  data  )  [static, private]

static void* LLPanelAvatar::createFloaterAvatarInfo ( void *  data  )  [static, private]

void * LLPanelAvatar::createPanelAvatarSecondLife ( void *  data  )  [static, private]

Definition at line 2308 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:

void * LLPanelAvatar::createPanelAvatarWeb ( void *  data  )  [static, private]

Definition at line 2315 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:

void * LLPanelAvatar::createPanelAvatarInterests ( void *  data  )  [static, private]

Definition at line 2322 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:

void * LLPanelAvatar::createPanelAvatarPicks ( void *  data  )  [static, private]

Definition at line 2330 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:

void * LLPanelAvatar::createPanelAvatarClassified ( void *  data  )  [static, private]

Definition at line 2337 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:

void * LLPanelAvatar::createPanelAvatarFirstLife ( void *  data  )  [static, private]

Definition at line 2344 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:

void * LLPanelAvatar::createPanelAvatarNotes ( void *  data  )  [static, private]

Definition at line 2351 of file llpanelavatar.cpp.

Referenced by LLPanelAvatar().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 347 of file llpanelavatar.h.

Referenced by sendAvatarPropertiesUpdate(), and setAvatarID().

Definition at line 348 of file llpanelavatar.h.

Referenced by canClose(), and setAvatarID().

Definition at line 349 of file llpanelavatar.h.

Referenced by setAvatarID().

Definition at line 350 of file llpanelavatar.h.

Referenced by sendAvatarNotesUpdate(), and setAvatarID().

Definition at line 351 of file llpanelavatar.h.

Referenced by sendAvatarPropertiesUpdate(), and setAvatarID().

Definition at line 352 of file llpanelavatar.h.

Referenced by sendAvatarPropertiesUpdate(), and setAvatarID().

Definition at line 354 of file llpanelavatar.h.

Referenced by setAvatarID().

Definition at line 362 of file llpanelavatar.h.

Referenced by setAvatarID(), and setOnlineStatus().

Definition at line 363 of file llpanelavatar.h.

Referenced by enableOKIfReady(), and haveData().

Definition at line 364 of file llpanelavatar.h.

Referenced by haveData().

bool LLPanelAvatar::mHaveNotes [private]

Definition at line 367 of file llpanelavatar.h.

Referenced by sendAvatarNotesUpdate(), and setAvatarID().

std::string LLPanelAvatar::mLastNotes [private]

Definition at line 368 of file llpanelavatar.h.

Referenced by sendAvatarNotesUpdate(), and setAvatarID().

Definition at line 369 of file llpanelavatar.h.

Referenced by postBuild(), selectTab(), and selectTabByName().

Definition at line 370 of file llpanelavatar.h.

Referenced by isEditable(), and setAvatarID().

std::list< LLPanelAvatar * > LLPanelAvatar::sAllPanels [static, private]


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

Generated on Fri May 16 08:55:35 2008 for SecondLife by  doxygen 1.5.5