LLViewerMedia Class Reference

#include <llviewermedia.h>

List of all members.

Static Public Member Functions

static void initClass ()
static void cleanupClass ()
static void play (const std::string &media_url, const std::string &mime_type, const LLUUID &placeholder_texture_id, S32 media_width, S32 media_height, U8 media_auto_scale, U8 media_loop)
static void stop ()
static void pause ()
static void start ()
static void seek (F32 time)
static void setVolume (F32 volume)
static LLMediaBase::EStatus getStatus ()
static LLUUID getMediaTextureID ()
static bool getMediaSize (S32 *media_width, S32 *media_height)
static bool getTextureSize (S32 *texture_width, S32 *texture_height)
static bool isMediaPlaying ()
static bool isMediaPaused ()
static bool hasMedia ()
static bool isActiveMediaTexture (const LLUUID &id)
static std::string getMediaURL ()
static std::string getMimeType ()
static void setMimeType (std::string mime_type)
static void updateImagesMediaStreams ()


Detailed Description

Definition at line 39 of file llviewermedia.h.


Member Function Documentation

void LLViewerMedia::initClass ( void   )  [static]

void LLViewerMedia::cleanupClass (  )  [static]

Definition at line 485 of file llviewermedia.cpp.

References LLMediaManager::cleanupClass().

Here is the call graph for this function:

void LLViewerMedia::play ( const std::string &  media_url,
const std::string &  mime_type,
const LLUUID placeholder_texture_id,
S32  media_width,
S32  media_height,
U8  media_auto_scale,
U8  media_loop 
) [static]

Definition at line 491 of file llviewermedia.cpp.

References LLViewerMediaImpl::play().

Referenced by LLViewerParcelMedia::play().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerMedia::stop (  )  [static]

Definition at line 502 of file llviewermedia.cpp.

References LLViewerMediaImpl::stop().

Referenced by LLViewerParcelMedia::stop().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerMedia::pause (  )  [static]

Definition at line 508 of file llviewermedia.cpp.

References LLViewerMediaImpl::pause().

Referenced by LLViewerParcelMedia::pause().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerMedia::start ( void   )  [static]

Definition at line 514 of file llviewermedia.cpp.

References LLViewerMediaImpl::start().

Referenced by LLViewerParcelMedia::start().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerMedia::seek ( F32  time  )  [static]

Definition at line 520 of file llviewermedia.cpp.

References LLViewerMediaImpl::seek().

Referenced by LLViewerParcelMedia::seek().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerMedia::setVolume ( F32  volume  )  [static]

Definition at line 526 of file llviewermedia.cpp.

References LLViewerMediaImpl::setVolume().

Referenced by audio_update_volume().

Here is the call graph for this function:

Here is the caller graph for this function:

LLMediaBase::EStatus LLViewerMedia::getStatus (  )  [static]

Definition at line 532 of file llviewermedia.cpp.

References LLViewerMediaImpl::getStatus().

Referenced by LLViewerParcelMedia::getStatus().

Here is the call graph for this function:

Here is the caller graph for this function:

LLUUID LLViewerMedia::getMediaTextureID (  )  [static]

Definition at line 539 of file llviewermedia.cpp.

References LLViewerMediaImpl::getMediaTextureID().

Referenced by LLPanelFaceSetMediaFunctor::apply(), isActiveMediaTexture(), and LLViewerParcelMedia::update().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLViewerMedia::getMediaSize ( S32 media_width,
S32 media_height 
) [static]

Definition at line 546 of file llviewermedia.cpp.

References LLMediaBase::getMediaHeight(), LLMediaBase::getMediaWidth(), LLViewerMediaImpl::mMediaSource, and NULL.

Referenced by LLPanelFaceSetMediaFunctor::apply().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLViewerMedia::getTextureSize ( S32 texture_width,
S32 texture_height 
) [static]

Definition at line 561 of file llviewermedia.cpp.

References LLMediaBase::getMediaHeight(), LLMediaBase::getMediaWidth(), LLViewerMediaImpl::mMediaSource, NULL, S32, LLMediaManager::textureHeightFromMediaHeight(), and LLMediaManager::textureWidthFromMediaWidth().

Referenced by LLPanelFaceSetMediaFunctor::apply().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLViewerMedia::isMediaPlaying (  )  [static]

bool LLViewerMedia::isMediaPaused (  )  [static]

Definition at line 590 of file llviewermedia.cpp.

References LLViewerMediaImpl::getStatus(), indra::ipc::saranwrap::status(), and LLMediaBase::STATUS_PAUSED.

Referenced by LLViewerParcelMedia::processParcelMediaCommandMessage(), and LLOverlayBar::toggleMediaPlay().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLViewerMedia::hasMedia (  )  [static]

Definition at line 597 of file llviewermedia.cpp.

References LLViewerMediaImpl::mMediaSource, and NULL.

Referenced by LLPanelFace::getState(), and LLViewerParcelMedia::processParcelMediaCommandMessage().

Here is the caller graph for this function:

bool LLViewerMedia::isActiveMediaTexture ( const LLUUID id  )  [static]

Definition at line 604 of file llviewermedia.cpp.

References getMediaTextureID(), and isMediaPlaying().

Referenced by handle_click_action_open_media().

Here is the call graph for this function:

Here is the caller graph for this function:

std::string LLViewerMedia::getMediaURL (  )  [static]

Definition at line 613 of file llviewermedia.cpp.

References LLViewerMediaImpl::mMediaURL.

Referenced by LLViewerParcelMedia::update().

Here is the caller graph for this function:

std::string LLViewerMedia::getMimeType (  )  [static]

Definition at line 619 of file llviewermedia.cpp.

References LLViewerMediaImpl::mMimeType.

Referenced by LLMediaRemoteCtrl::enableMediaButtons(), and LLMediaRemoteCtrl::setToolTip().

Here is the caller graph for this function:

void LLViewerMedia::setMimeType ( std::string  mime_type  )  [static]

Definition at line 625 of file llviewermedia.cpp.

References LLViewerMediaImpl::mMimeType.

Referenced by LLMimeDiscoveryResponder::completeAny(), and LLViewerParcelMedia::update().

Here is the caller graph for this function:

void LLViewerMedia::updateImagesMediaStreams (  )  [static]

Definition at line 577 of file llviewermedia.cpp.

References LLViewerMediaImpl::updateImagesMediaStreams().

Referenced by LLViewerImageList::updateImages().

Here is the call graph for this function:

Here is the caller graph for this function:


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

Generated on Fri May 16 09:27:49 2008 for SecondLife by  doxygen 1.5.5