LLPanelActiveSpeakers Class Reference

#include <llfloateractivespeakers.h>

Inheritance diagram for LLPanelActiveSpeakers:

Inheritance graph
[legend]
Collaboration diagram for LLPanelActiveSpeakers:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelActiveSpeakers (LLSpeakerMgr *data_source, BOOL show_text_chatters)
BOOL postBuild ()
void handleSpeakerSelect ()
void refreshSpeakers ()
void setSpeaker (const LLUUID &id, const LLString &name=LLString::null, LLSpeaker::ESpeakerStatus status=LLSpeaker::STATUS_TEXT_ONLY, LLSpeaker::ESpeakerType=LLSpeaker::SPEAKER_AGENT)
void setVoiceModerationCtrlMode (const BOOL &moderated_voice)

Static Public Member Functions

static void onClickMuteVoice (void *user_data)
static void onClickMuteVoiceCommit (LLUICtrl *ctrl, void *user_data)
static void onClickMuteTextCommit (LLUICtrl *ctrl, void *user_data)
static void onVolumeChange (LLUICtrl *source, void *user_data)
static void onClickProfile (void *user_data)
static void onDoubleClickSpeaker (void *user_data)
static void onSelectSpeaker (LLUICtrl *source, void *user_data)
static void onSortChanged (void *user_data)
static void onModeratorMuteVoice (LLUICtrl *ctrl, void *user_data)
static void onModeratorMuteText (LLUICtrl *ctrl, void *user_data)
static void onChangeModerationMode (LLUICtrl *ctrl, void *user_data)

Protected Member Functions

void addSpeaker (const LLUUID &id)
void removeSpeaker (const LLUUID &id)

Protected Attributes

LLScrollListCtrlmSpeakerList
LLUICtrlmMuteVoiceCtrl
LLUICtrlmMuteTextCtrl
LLTextBoxmNameText
LLButtonmProfileBtn
BOOL mShowTextChatters
LLSpeakerMgrmSpeakerMgr
LLFrameTimer mIconAnimationTimer
LLPointer< SpeakerMuteListenermSpeakerMuteListener
LLPointer< SpeakerAddListenermSpeakerAddListener
LLPointer< SpeakerRemoveListenermSpeakerRemoveListener
LLPointer< SpeakerClearListenermSpeakerClearListener

Friends

class SpeakerAddListener
class SpeakerRemoveListener
class SpeakerClearListener

Classes

class  SpeakerAddListener
class  SpeakerClearListener
class  SpeakerMuteListener
class  SpeakerRemoveListener


Detailed Description

Definition at line 203 of file llfloateractivespeakers.h.


Constructor & Destructor Documentation

LLPanelActiveSpeakers::LLPanelActiveSpeakers ( LLSpeakerMgr data_source,
BOOL  show_text_chatters 
)


Member Function Documentation

BOOL LLPanelActiveSpeakers::postBuild ( void   )  [virtual]

void LLPanelActiveSpeakers::handleSpeakerSelect (  ) 

Definition at line 376 of file llfloateractivespeakers.cpp.

References LLSD::asUUID(), LLPanel::childSetValue(), LLSpeakerMgr::findSpeaker(), LLScrollListCtrl::getValue(), mSpeakerList, mSpeakerMgr, mSpeakerMuteListener, LLPointer< Type >::notNull(), and TRUE.

Referenced by onSelectSpeaker(), and postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::refreshSpeakers (  ) 

Definition at line 394 of file llfloateractivespeakers.cpp.

References LLSD::asUUID(), LLColor4::black, LLFontGL::BOLD, LLPanel::childSetEnabled(), LLPanel::childSetValue(), LLPanel::childSetVisible(), FALSE, LLSpeakerMgr::findSpeaker(), LLMute::flagTextChat, LLMute::flagVoiceChat, gAgent, LLScrollListCtrl::getAllData(), LLScrollListItem::getColumn(), LLCacheName::getDefaultName(), LLAgent::getID(), LLMuteList::getInstance(), LLScrollListCtrl::getScrollInterface(), LLCtrlScrollInterface::getScrollPos(), LLScrollListCtrl::getSelectedValue(), LLSpeakerMgr::getSpeakerList(), LLPanel::getString(), LLVoiceClient::getUserVolume(), LLScrollListItem::getUUID(), LLVoiceClient::getVoiceEnabled(), LLColor4::grey4, gVoiceClient, LLMuteList::isLinden(), LLSpeakerMgr::isVoiceActive(), llfloor(), llformat(), llmin(), mMuteTextCtrl, mMuteVoiceCtrl, mNameText, mProfileBtn, mShowTextChatters, mSpeakerList, mSpeakerMgr, LLFontGL::NORMAL, LLPointer< Type >::notNull(), LLUUID::notNull(), LLStringBase< char >::null, LLVoiceClient::OVERDRIVEN_POWER_LEVEL, S32, LLScrollListCell::setColor(), LLView::setEnabled(), LLCtrlScrollInterface::setScrollPos(), LLScrollListCtrl::setSorted(), LLTextBox::setValue(), LLView::setValue(), LLScrollListCell::setValue(), LLColor4::setVec(), LLSpeaker::SPEAKER_AGENT, LLSpeaker::STATUS_MUTED, LLSpeaker::STATUS_NOT_IN_CHANNEL, LLSpeaker::STATUS_VOICE_ACTIVE, LLColor4::transparent, LLSpeakerMgr::update(), and LLVoiceClient::voiceEnabled().

Referenced by LLFloaterIMPanel::draw(), LLFloaterChat::draw(), LLFloaterActiveSpeakers::draw(), LLFloaterActiveSpeakers::LLFloaterActiveSpeakers(), and LLFloaterIMPanel::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::setSpeaker ( const LLUUID id,
const LLString name = LLString::null,
LLSpeaker::ESpeakerStatus  status = LLSpeaker::STATUS_TEXT_ONLY,
LLSpeaker::ESpeakerType  type = LLSpeaker::SPEAKER_AGENT 
)

Definition at line 598 of file llfloateractivespeakers.cpp.

References mSpeakerMgr, and LLSpeakerMgr::setSpeaker().

Referenced by LLFloaterChat::addChatHistory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::setVoiceModerationCtrlMode ( const BOOL moderated_voice  ) 

Definition at line 603 of file llfloateractivespeakers.cpp.

References LLView::setValue().

Referenced by LLFloaterIMPanel::processSessionUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onClickMuteVoice ( void *  user_data  )  [static]

Definition at line 647 of file llfloateractivespeakers.cpp.

References NULL, and onClickMuteVoiceCommit().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onClickMuteVoiceCommit ( LLUICtrl ctrl,
void *  user_data 
) [static]

void LLPanelActiveSpeakers::onClickMuteTextCommit ( LLUICtrl ctrl,
void *  user_data 
) [static]

void LLPanelActiveSpeakers::onVolumeChange ( LLUICtrl source,
void *  user_data 
) [static]

Definition at line 683 of file llfloateractivespeakers.cpp.

References LLSD::asReal(), LLSD::asUUID(), LLPanel::childGetValue(), LLMuteList::getInstance(), LLScrollListCtrl::getValue(), gVoiceClient, mSpeakerList, LLMuteList::setSavedResidentVolume(), and LLVoiceClient::setUserVolume().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onClickProfile ( void *  user_data  )  [static]

Definition at line 696 of file llfloateractivespeakers.cpp.

References LLSD::asUUID(), LLScrollListCtrl::getValue(), mSpeakerList, and LLFloaterAvatarInfo::showFromDirectory().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onDoubleClickSpeaker ( void *  user_data  )  [static]

Definition at line 705 of file llfloateractivespeakers.cpp.

References LLIMMgr::addSession(), LLSD::asUUID(), LLSpeakerMgr::findSpeaker(), gAgent, LLAgent::getID(), LLScrollListCtrl::getValue(), gIMMgr, IM_NOTHING_SPECIAL, mSpeakerList, mSpeakerMgr, and LLPointer< Type >::notNull().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onSelectSpeaker ( LLUICtrl source,
void *  user_data 
) [static]

Definition at line 719 of file llfloateractivespeakers.cpp.

References handleSpeakerSelect().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onSortChanged ( void *  user_data  )  [static]

Definition at line 727 of file llfloateractivespeakers.cpp.

References LLScrollListCtrl::getSortAscending(), LLScrollListCtrl::getSortColumnName(), gSavedSettings, mSpeakerList, LLControlGroup::setBOOL(), and LLControlGroup::setString().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::onModeratorMuteVoice ( LLUICtrl ctrl,
void *  user_data 
) [static]

void LLPanelActiveSpeakers::onModeratorMuteText ( LLUICtrl ctrl,
void *  user_data 
) [static]

void LLPanelActiveSpeakers::onChangeModerationMode ( LLUICtrl ctrl,
void *  user_data 
) [static]

Definition at line 868 of file llfloateractivespeakers.cpp.

References LLSD::asString(), LLSD::emptyMap(), gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLUICtrl::getValue(), llendl, llwarns, LLHTTPClient::post(), and indra::ipc::saranwrap::status().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::addSpeaker ( const LLUUID id  )  [protected]

Definition at line 325 of file llfloateractivespeakers.cpp.

References LLScrollListCtrl::addElement(), LLSpeakerMgr::findSpeaker(), LLCacheName::getDefaultName(), LLScrollListCtrl::getItemIndex(), llformat(), mSpeakerList, and mSpeakerMgr.

Referenced by LLPanelActiveSpeakers::SpeakerAddListener::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelActiveSpeakers::removeSpeaker ( const LLUUID id  )  [protected]

Definition at line 371 of file llfloateractivespeakers.cpp.

References LLScrollListCtrl::deleteSingleItem(), LLScrollListCtrl::getItemIndex(), and mSpeakerList.

Referenced by LLPanelActiveSpeakers::SpeakerRemoveListener::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class SpeakerAddListener [friend]

Definition at line 243 of file llfloateractivespeakers.h.

Referenced by LLPanelActiveSpeakers().

friend class SpeakerRemoveListener [friend]

Definition at line 254 of file llfloateractivespeakers.h.

Referenced by LLPanelActiveSpeakers().

friend class SpeakerClearListener [friend]

Definition at line 266 of file llfloateractivespeakers.h.

Referenced by LLPanelActiveSpeakers().


Member Data Documentation

Definition at line 282 of file llfloateractivespeakers.h.

Referenced by postBuild(), and refreshSpeakers().

Definition at line 283 of file llfloateractivespeakers.h.

Referenced by postBuild(), and refreshSpeakers().

Definition at line 284 of file llfloateractivespeakers.h.

Referenced by postBuild(), and refreshSpeakers().

Definition at line 285 of file llfloateractivespeakers.h.

Referenced by postBuild(), and refreshSpeakers().

Definition at line 286 of file llfloateractivespeakers.h.

Referenced by refreshSpeakers().

Definition at line 288 of file llfloateractivespeakers.h.

Definition at line 289 of file llfloateractivespeakers.h.

Referenced by handleSpeakerSelect(), and LLPanelActiveSpeakers().

Definition at line 290 of file llfloateractivespeakers.h.

Referenced by LLPanelActiveSpeakers().

Definition at line 291 of file llfloateractivespeakers.h.

Referenced by LLPanelActiveSpeakers().

Definition at line 292 of file llfloateractivespeakers.h.

Referenced by LLPanelActiveSpeakers().


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

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