#include <llfloateractivespeakers.h>
Public Types | |
enum | e_speaker_type { SPEAKER_AGENT, SPEAKER_OBJECT } |
enum | e_speaker_status { STATUS_SPEAKING, STATUS_HAS_SPOKEN, STATUS_VOICE_ACTIVE, STATUS_TEXT_ONLY, STATUS_NOT_IN_CHANNEL, STATUS_MUTED } |
typedef enum LLSpeaker::e_speaker_type | ESpeakerType |
typedef enum LLSpeaker::e_speaker_status | ESpeakerStatus |
Public Member Functions | |
LLSpeaker (const LLUUID &id, const LLString &name=LLString::null, const ESpeakerType type=SPEAKER_AGENT) | |
~LLSpeaker () | |
void | lookupName () |
Static Public Member Functions | |
static void | onAvatarNameLookup (const LLUUID &id, const char *first, const char *last, BOOL is_group, void *user_data) |
Public Attributes | |
ESpeakerStatus | mStatus |
F32 | mLastSpokeTime |
F32 | mSpeechVolume |
LLString | mDisplayName |
LLFrameTimer | mActivityTimer |
BOOL | mHasSpoken |
LLColor4 | mDotColor |
LLUUID | mID |
BOOL | mTyping |
S32 | mSortIndex |
ESpeakerType | mType |
BOOL | mIsModerator |
BOOL | mModeratorMutedVoice |
BOOL | mModeratorMutedText |
Definition at line 50 of file llfloateractivespeakers.h.
typedef enum LLSpeaker::e_speaker_type LLSpeaker::ESpeakerType |
typedef enum LLSpeaker::e_speaker_status LLSpeaker::ESpeakerStatus |
STATUS_SPEAKING | |
STATUS_HAS_SPOKEN | |
STATUS_VOICE_ACTIVE | |
STATUS_TEXT_ONLY | |
STATUS_NOT_IN_CHANNEL | |
STATUS_MUTED |
Definition at line 59 of file llfloateractivespeakers.h.
LLSpeaker::LLSpeaker | ( | const LLUUID & | id, | |
const LLString & | name = LLString::null , |
|||
const ESpeakerType | type = SPEAKER_AGENT | |||
) |
Definition at line 55 of file llfloateractivespeakers.cpp.
References LLMuteList::getInstance(), gVoiceClient, lookupName(), mActivityTimer, mDisplayName, LLFrameTimer::resetWithExpiry(), LLVoiceClient::setUserVolume(), SPEAKER_AGENT, and SPEAKER_TIMEOUT.
LLSpeaker::~LLSpeaker | ( | ) | [inline] |
Definition at line 71 of file llfloateractivespeakers.h.
void LLSpeaker::lookupName | ( | ) |
Definition at line 84 of file llfloateractivespeakers.cpp.
References gCacheName, LLHandleProvider< LLSpeaker >::getHandle(), LLCacheName::getName(), mID, and onAvatarNameLookup().
Referenced by LLSpeaker().
void LLSpeaker::onAvatarNameLookup | ( | const LLUUID & | id, | |
const char * | first, | |||
const char * | last, | |||
BOOL | is_group, | |||
void * | user_data | |||
) | [static] |
Definition at line 90 of file llfloateractivespeakers.cpp.
References llformat(), and mDisplayName.
Referenced by lookupName().
Definition at line 76 of file llfloateractivespeakers.h.
Referenced by LLSpeakerMgr::update(), LLLocalSpeakerMgr::updateSpeakerList(), and LLActiveSpeakerMgr::updateSpeakerList().
Definition at line 79 of file llfloateractivespeakers.h.
Referenced by LLSpeaker(), and onAvatarNameLookup().
Definition at line 80 of file llfloateractivespeakers.h.
Referenced by LLSpeaker(), and LLLocalSpeakerMgr::updateSpeakerList().
Definition at line 82 of file llfloateractivespeakers.h.
Referenced by LLSpeakerMgr::update(), and LLLocalSpeakerMgr::updateSpeakerList().
Definition at line 84 of file llfloateractivespeakers.h.
Definition at line 85 of file llfloateractivespeakers.h.
Definition at line 86 of file llfloateractivespeakers.h.
Definition at line 87 of file llfloateractivespeakers.h.
Definition at line 89 of file llfloateractivespeakers.h.