#include <llimpanel.h>
Inheritance diagram for LLVoiceChannel:


Definition at line 48 of file llimpanel.h.
| typedef std::map<LLUUID, LLVoiceChannel*> LLVoiceChannel::voice_channel_map_t  [protected] | 
Definition at line 99 of file llimpanel.h.
| typedef std::map<LLString, LLVoiceChannel*> LLVoiceChannel::voice_channel_map_uri_t  [protected] | 
Definition at line 102 of file llimpanel.h.
| STATE_NO_CHANNEL_INFO | |
| STATE_ERROR | |
| STATE_HUNG_UP | |
| STATE_READY | |
| STATE_CALL_STARTED | |
| STATE_RINGING | |
| STATE_CONNECTED | 
Definition at line 51 of file llimpanel.h.
Definition at line 225 of file llimpanel.cpp.
References LLVoiceClient::addStatusObserver(), LLSingleton< LLVoiceClient >::getInstance(), llendl, llwarns, mNotifyArgs, mSessionName, and sVoiceChannelMap.
| LLVoiceChannel::~LLVoiceChannel | ( | ) |  [virtual] | 
Definition at line 243 of file llimpanel.cpp.
References gVoiceClient, mSessionID, mURI, LLVoiceClient::removeStatusObserver(), sVoiceChannelMap, and sVoiceChannelURIMap.
| void LLVoiceChannel::activate | ( | ) |  [virtual] | 
Reimplemented in LLVoiceChannelGroup, LLVoiceChannelProximal, and LLVoiceChannelP2P.
Definition at line 392 of file llimpanel.cpp.
References callStarted(), getChannelInfo(), mState, sCurrentVoiceChannel, setState(), STATE_CALL_STARTED, and STATE_NO_CHANNEL_INFO.
Referenced by LLVoiceChannelP2P::activate(), LLVoiceChannelProximal::activate(), LLVoiceChannelGroup::activate(), deactivate(), setChannelInfo(), and LLVoiceClient::setVoiceEnabled().
| BOOL LLVoiceChannel::callStarted | ( | ) |  [virtual] | 
Definition at line 367 of file llimpanel.cpp.
References mState, and STATE_CALL_STARTED.
Referenced by LLVoiceChannelP2P::activate(), LLVoiceChannelProximal::activate(), LLVoiceChannelGroup::activate(), activate(), LLVoiceChannelProximal::deactivate(), LLVoiceChannelGroup::deactivate(), deactivate(), LLVoiceChannelP2P::handleStatusChange(), handleStatusChange(), LLIMMgr::inviteToSession(), LLVoiceChannelProximal::isActive(), isActive(), and LLVoiceChannelP2P::setSessionHandle().
| void LLVoiceChannel::deactivate | ( | ) |  [virtual] | 
Reimplemented in LLVoiceChannelGroup, and LLVoiceChannelProximal.
Definition at line 372 of file llimpanel.cpp.
References activate(), callStarted(), LLSingleton< LLVoiceChannelProximal >::getInstance(), mIgnoreNextSessionLeave, mState, sCurrentVoiceChannel, setState(), STATE_HUNG_UP, STATE_RINGING, and TRUE.
Referenced by LLVoiceChannelGroup::deactivate(), LLVoiceCallCapResponder::error(), handleError(), handleStatusChange(), setChannelInfo(), and LLFloaterIMPanel::~LLFloaterIMPanel().
| LLVoiceChannel * LLVoiceChannel::getChannelByID | ( | const LLUUID & | session_id | ) |  [static] | 
Definition at line 430 of file llimpanel.cpp.
References NULL, and sVoiceChannelMap.
Referenced by LLVoiceCallCapResponder::error(), LLIMMgr::inviteToSession(), and LLVoiceCallCapResponder::result().
| LLVoiceChannel * LLVoiceChannel::getChannelByURI | ( | LLString | uri | ) |  [static] | 
| void LLVoiceChannel::getChannelInfo | ( | ) |  [virtual] | 
Reimplemented in LLVoiceChannelGroup, and LLVoiceChannelP2P.
Definition at line 420 of file llimpanel.cpp.
References sCurrentVoiceChannel, setState(), and STATE_CALL_STARTED.
Referenced by activate().
| static LLVoiceChannel* LLVoiceChannel::getCurrentVoiceChannel | ( | ) |  [inline, static] | 
Definition at line 83 of file llimpanel.h.
References sCurrentVoiceChannel.
Referenced by LLVoiceRemoteCtrl::draw(), LLFloaterChatterBox::draw(), LLFloaterChatterBox::getCurrentVoiceFloater(), LLVoiceClient::setVoiceEnabled(), and LLActiveSpeakerMgr::updateSpeakerList().
| EState LLVoiceChannel::getState | ( | ) |  [inline] | 
Definition at line 77 of file llimpanel.h.
References mState.
Referenced by LLFloaterIMPanel::draw(), and LLFloaterChatterBox::draw().
| void LLVoiceChannel::handleError | ( | EStatusType | status | ) |  [virtual] | 
Reimplemented in LLVoiceChannelGroup, LLVoiceChannelProximal, and LLVoiceChannelP2P.
Definition at line 355 of file llimpanel.cpp.
References deactivate(), setState(), and STATE_ERROR.
Referenced by LLVoiceChannelP2P::handleError(), LLVoiceChannelProximal::handleError(), LLVoiceChannelGroup::handleError(), and onChange().
| void LLVoiceChannel::handleStatusChange | ( | EStatusType | status | ) |  [virtual] | 
Reimplemented in LLVoiceChannelGroup, LLVoiceChannelProximal, and LLVoiceChannelP2P.
Definition at line 308 of file llimpanel.cpp.
References callStarted(), deactivate(), FALSE, LLPanel::getHandle(), LLPanel::getPanelByHandle(), LLViewHandle::isDead(), LLViewHandle::markDead(), mIgnoreNextSessionLeave, mLoginNotificationHandle, mNotifyArgs, setState(), LLNotifyBox::showXml(), STATE_CONNECTED, STATE_RINGING, LLVoiceClientStatusObserver::STATUS_JOINED, LLVoiceClientStatusObserver::STATUS_JOINING, LLVoiceClientStatusObserver::STATUS_LEFT_CHANNEL, LLVoiceClientStatusObserver::STATUS_LOGGED_IN, and LLVoiceClientStatusObserver::STATUS_LOGIN_RETRY.
Referenced by LLVoiceChannelP2P::handleStatusChange(), LLVoiceChannelProximal::handleStatusChange(), LLVoiceChannelGroup::handleStatusChange(), and onChange().
| void LLVoiceChannel::initClass | ( | ) |  [static] | 
Definition at line 494 of file llimpanel.cpp.
References LLSingleton< LLVoiceChannelProximal >::getInstance(), and sCurrentVoiceChannel.
Referenced by main_loop().
| BOOL LLVoiceChannel::isActive | ( | ) |  [virtual] | 
Reimplemented in LLVoiceChannelProximal.
Definition at line 361 of file llimpanel.cpp.
References callStarted(), LLVoiceClient::getCurrentChannel(), LLSingleton< LLVoiceClient >::getInstance(), and mURI.
Referenced by LLVoiceRemoteCtrl::draw(), LLFloaterIMPanel::draw(), LLFloaterChatterBox::draw(), LLSpeakerMgr::isVoiceActive(), LLSpeakerMgr::update(), and LLSpeakerMgr::updateSpeakerList().
| void LLVoiceChannel::onChange | ( | EStatusType | status, | |
| const std::string & | channelURI, | |||
| bool | proximal | |||
| ) | 
Reimplemented in LLVoiceChannelProximal.
Definition at line 291 of file llimpanel.cpp.
References LLVoiceClientStatusObserver::BEGIN_ERROR_STATUS, handleError(), handleStatusChange(), and mURI.
| void LLVoiceChannel::setChannelInfo | ( | const LLString & | uri, | |
| const LLString & | credentials | |||
| ) |  [virtual] | 
Reimplemented in LLVoiceChannelGroup.
Definition at line 259 of file llimpanel.cpp.
References activate(), deactivate(), llendl, llwarns, mCredentials, mSessionName, mState, mURI, sCurrentVoiceChannel, setState(), setURI(), STATE_NO_CHANNEL_INFO, and STATE_READY.
Referenced by LLVoiceCallCapResponder::result().
Definition at line 472 of file llimpanel.cpp.
References LLIMMgr::addSystemMessage(), gIMMgr, mNotifyArgs, mSessionID, mState, STATE_CONNECTED, STATE_HUNG_UP, and STATE_RINGING.
Referenced by activate(), LLVoiceChannelProximal::deactivate(), deactivate(), getChannelInfo(), handleError(), handleStatusChange(), setChannelInfo(), and LLVoiceChannelGroup::setState().
Definition at line 465 of file llimpanel.cpp.
References mURI, and sVoiceChannelURIMap.
Referenced by LLVoiceChannelP2P::LLVoiceChannelP2P(), LLVoiceChannelGroup::setChannelInfo(), setChannelInfo(), and LLVoiceChannelP2P::setSessionHandle().
Definition at line 458 of file llimpanel.cpp.
References mSessionID, and sVoiceChannelMap.
Referenced by LLFloaterIMPanel::sessionInitReplyReceived().
| LLString LLVoiceChannel::mCredentials  [protected] | 
Definition at line 91 of file llimpanel.h.
Referenced by LLVoiceChannelGroup::activate(), LLVoiceChannelGroup::setChannelInfo(), and setChannelInfo().
| BOOL LLVoiceChannel::mIgnoreNextSessionLeave  [protected] | 
Definition at line 96 of file llimpanel.h.
Referenced by deactivate(), LLVoiceChannelGroup::handleError(), LLVoiceChannelP2P::handleStatusChange(), and handleStatusChange().
| LLViewHandle LLVoiceChannel::mLoginNotificationHandle  [protected] | 
| LLString::format_map_t LLVoiceChannel::mNotifyArgs  [protected] | 
Definition at line 95 of file llimpanel.h.
Referenced by LLVoiceChannelP2P::handleError(), LLVoiceChannelProximal::handleError(), LLVoiceChannelGroup::handleError(), LLVoiceChannelP2P::handleStatusChange(), handleStatusChange(), LLVoiceChannel(), LLVoiceChannelGroup::setState(), and setState().
| LLUUID LLVoiceChannel::mSessionID  [protected] | 
Definition at line 92 of file llimpanel.h.
Referenced by LLVoiceChannelGroup::getChannelInfo(), LLVoiceChannelGroup::handleError(), LLVoiceChannelGroup::setState(), setState(), updateSessionID(), and ~LLVoiceChannel().
| LLString LLVoiceChannel::mSessionName  [protected] | 
Definition at line 94 of file llimpanel.h.
Referenced by LLVoiceChannel(), LLVoiceChannelGroup::setChannelInfo(), and setChannelInfo().
| EState LLVoiceChannel::mState  [protected] | 
Definition at line 93 of file llimpanel.h.
Referenced by activate(), callStarted(), deactivate(), getState(), LLVoiceChannelP2P::handleStatusChange(), LLVoiceChannelGroup::setChannelInfo(), setChannelInfo(), LLVoiceChannelGroup::setState(), and setState().
| LLString LLVoiceChannel::mURI  [protected] | 
Definition at line 90 of file llimpanel.h.
Referenced by LLVoiceChannelGroup::activate(), isActive(), onChange(), LLVoiceChannelGroup::setChannelInfo(), setChannelInfo(), setURI(), and ~LLVoiceChannel().
| LLVoiceChannel * LLVoiceChannel::sCurrentVoiceChannel = NULL  [static, protected] | 
Definition at line 105 of file llimpanel.h.
Referenced by activate(), deactivate(), LLVoiceChannelP2P::getChannelInfo(), getChannelInfo(), getCurrentVoiceChannel(), initClass(), LLVoiceChannelGroup::setChannelInfo(), and setChannelInfo().
| LLVoiceChannel::voice_channel_map_t LLVoiceChannel::sVoiceChannelMap  [static, protected] | 
Definition at line 100 of file llimpanel.h.
Referenced by getChannelByID(), LLVoiceChannel(), updateSessionID(), and ~LLVoiceChannel().
| LLVoiceChannel::voice_channel_map_uri_t LLVoiceChannel::sVoiceChannelURIMap  [static, protected] | 
Definition at line 103 of file llimpanel.h.
Referenced by getChannelByURI(), setURI(), and ~LLVoiceChannel().
 1.4.7
 1.4.7