LLSpeaker Class Reference

#include <llfloateractivespeakers.h>

Inheritance diagram for LLSpeaker:

Inheritance graph
Collaboration diagram for LLSpeaker:

Collaboration graph
List of all members.

Public Types

typedef enum LLSpeaker::e_speaker_type ESpeakerType
typedef enum LLSpeaker::e_speaker_status ESpeakerStatus
typedef std::map< LLViewHandle,
LLSpeaker * > 
enum  e_speaker_type { SPEAKER_AGENT, SPEAKER_OBJECT }
enum  e_speaker_status {

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
BOOL mTyping
S32 mSortIndex
LLViewHandle mHandle
ESpeakerType mType

Static Public Attributes

static speaker_map_t sSpeakers

Detailed Description

Definition at line 48 of file llfloateractivespeakers.h.

Member Typedef Documentation

typedef enum LLSpeaker::e_speaker_status LLSpeaker::ESpeakerStatus

typedef enum LLSpeaker::e_speaker_type LLSpeaker::ESpeakerType

typedef std::map<LLViewHandle, LLSpeaker*> LLSpeaker::speaker_map_t

Definition at line 90 of file llfloateractivespeakers.h.

Member Enumeration Documentation

enum LLSpeaker::e_speaker_status


Definition at line 57 of file llfloateractivespeakers.h.

enum LLSpeaker::e_speaker_type


Definition at line 51 of file llfloateractivespeakers.h.

Constructor & Destructor Documentation

LLSpeaker::LLSpeaker ( const LLUUID id,
const LLString name = LLString::null,
const ESpeakerType  type = SPEAKER_AGENT 

Definition at line 59 of file llfloateractivespeakers.cpp.

References LLViewHandle::init(), lookupName(), mActivityTimer, mDisplayName, mHandle, LLFrameTimer::resetWithExpiry(), SPEAKER_AGENT, SPEAKER_TIMEOUT, and sSpeakers.

LLSpeaker::~LLSpeaker (  ) 

Definition at line 83 of file llfloateractivespeakers.cpp.

References mHandle, and sSpeakers.

Member Function Documentation

void LLSpeaker::lookupName (  ) 

Definition at line 88 of file llfloateractivespeakers.cpp.

References gCacheName, LLCacheName::getName(), mHandle, 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 94 of file llfloateractivespeakers.cpp.

References llformat(), and sSpeakers.

Referenced by lookupName().

Member Data Documentation

LLFrameTimer LLSpeaker::mActivityTimer

Definition at line 81 of file llfloateractivespeakers.h.

Referenced by LLSpeaker().

LLString LLSpeaker::mDisplayName

Definition at line 80 of file llfloateractivespeakers.h.

Referenced by LLSpeaker().

LLColor4 LLSpeaker::mDotColor

Definition at line 83 of file llfloateractivespeakers.h.

LLViewHandle LLSpeaker::mHandle

Definition at line 87 of file llfloateractivespeakers.h.

Referenced by LLSpeaker(), lookupName(), and ~LLSpeaker().

BOOL LLSpeaker::mHasSpoken

Definition at line 82 of file llfloateractivespeakers.h.


Definition at line 84 of file llfloateractivespeakers.h.

Referenced by lookupName().

F32 LLSpeaker::mLastSpokeTime

Definition at line 78 of file llfloateractivespeakers.h.

S32 LLSpeaker::mSortIndex

Definition at line 86 of file llfloateractivespeakers.h.

F32 LLSpeaker::mSpeechVolume

Definition at line 79 of file llfloateractivespeakers.h.

ESpeakerStatus LLSpeaker::mStatus

Definition at line 77 of file llfloateractivespeakers.h.

ESpeakerType LLSpeaker::mType

Definition at line 88 of file llfloateractivespeakers.h.

BOOL LLSpeaker::mTyping

Definition at line 85 of file llfloateractivespeakers.h.

LLSpeaker::speaker_map_t LLSpeaker::sSpeakers [static]

Definition at line 91 of file llfloateractivespeakers.h.

Referenced by LLSpeaker(), onAvatarNameLookup(), and ~LLSpeaker().

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