LLSpeakerMgr Class Reference

#include <llfloateractivespeakers.h>

Inheritance diagram for LLSpeakerMgr:

Inheritance graph
[legend]
Collaboration diagram for LLSpeakerMgr:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< LLPointer
< LLSpeaker > > 
speaker_list_t

Public Member Functions

 LLSpeakerMgr (LLVoiceChannel *channelp)
virtual ~LLSpeakerMgr ()
const LLPointer< LLSpeakerfindSpeaker (const LLUUID &avatar_id)
void update ()
void setSpeakerTyping (const LLUUID &speaker_id, BOOL typing)
void speakerChatted (const LLUUID &speaker_id)
LLPointer< LLSpeakersetSpeaker (const LLUUID &id, const LLString &name=LLString::null, LLSpeaker::ESpeakerStatus status=LLSpeaker::STATUS_TEXT_ONLY, LLSpeaker::ESpeakerType=LLSpeaker::SPEAKER_AGENT)
BOOL isVoiceActive ()
void getSpeakerList (speaker_list_t *speaker_list, BOOL include_text)
const LLUUID getSessionID ()

Protected Types

typedef std::map< LLUUID,
LLPointer< LLSpeaker > > 
speaker_map_t

Protected Member Functions

virtual void updateSpeakerList ()

Protected Attributes

speaker_map_t mSpeakers
speaker_list_t mSpeakersSorted
LLFrameTimer mSpeechTimer
LLVoiceChannelmVoiceChannel


Detailed Description

Definition at line 116 of file llfloateractivespeakers.h.


Member Typedef Documentation

Definition at line 133 of file llfloateractivespeakers.h.

typedef std::map<LLUUID, LLPointer<LLSpeaker> > LLSpeakerMgr::speaker_map_t [protected]

Definition at line 140 of file llfloateractivespeakers.h.


Constructor & Destructor Documentation

LLSpeakerMgr::LLSpeakerMgr ( LLVoiceChannel channelp  ) 

Definition at line 903 of file llfloateractivespeakers.cpp.

LLSpeakerMgr::~LLSpeakerMgr (  )  [virtual]

Definition at line 908 of file llfloateractivespeakers.cpp.


Member Function Documentation

const LLPointer< LLSpeaker > LLSpeakerMgr::findSpeaker ( const LLUUID avatar_id  ) 

void LLSpeakerMgr::update (  ) 

void LLSpeakerMgr::setSpeakerTyping ( const LLUUID speaker_id,
BOOL  typing 
)

Definition at line 1110 of file llfloateractivespeakers.cpp.

References findSpeaker(), and LLPointer< Type >::notNull().

Referenced by LLFloaterIMPanel::addHistoryLine(), process_chat_from_simulator(), LLFloaterIMPanel::removeTypingIndicator(), and LLFloaterIMPanel::setTyping().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSpeakerMgr::speakerChatted ( const LLUUID speaker_id  ) 

Definition at line 1120 of file llfloateractivespeakers.cpp.

References findSpeaker(), LLFrameTimer::getElapsedTimeF32(), mSpeechTimer, LLPointer< Type >::notNull(), and TRUE.

Referenced by LLFloaterIMPanel::addHistoryLine(), and LLAgent::heardChat().

Here is the call graph for this function:

Here is the caller graph for this function:

LLPointer< LLSpeaker > LLSpeakerMgr::setSpeaker ( const LLUUID id,
const LLString name = LLString::null,
LLSpeaker::ESpeakerStatus  status = LLSpeaker::STATUS_TEXT_ONLY,
LLSpeaker::ESpeakerType  type = LLSpeaker::SPEAKER_AGENT 
)

BOOL LLSpeakerMgr::isVoiceActive (  ) 

Definition at line 1130 of file llfloateractivespeakers.cpp.

References LLVoiceChannel::isActive(), mVoiceChannel, and LLVoiceClient::voiceEnabled().

Referenced by LLPanelActiveSpeakers::refreshSpeakers().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLSpeakerMgr::getSpeakerList ( speaker_list_t speaker_list,
BOOL  include_text 
)

Definition at line 1090 of file llfloateractivespeakers.cpp.

References mSpeakers, and LLSpeaker::STATUS_TEXT_ONLY.

Referenced by LLPanelActiveSpeakers::refreshSpeakers().

Here is the caller graph for this function:

const LLUUID LLSpeakerMgr::getSessionID (  ) 

Definition at line 1104 of file llfloateractivespeakers.cpp.

References LLVoiceChannel::getSessionID(), and mVoiceChannel.

Here is the call graph for this function:

void LLSpeakerMgr::updateSpeakerList (  )  [protected, virtual]


Member Data Documentation

Definition at line 144 of file llfloateractivespeakers.h.

Referenced by speakerChatted(), and update().


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

Generated on Fri May 16 09:06:26 2008 for SecondLife by  doxygen 1.5.5