LLMediaBase Class Reference

#include <llmediabase.h>

Inheritance diagram for LLMediaBase:

Inheritance graph
[legend]

List of all members.

Public Types

enum  ECommand {
  COMMAND_NONE = 0, COMMAND_STOP = 1, COMMAND_START = 2, COMMAND_PAUSE = 4,
  COMMAND_BACK = 5, COMMAND_FORWARD = 6
}
enum  EStatus {
  STATUS_UNKNOWN = 0, STATUS_INITIALIZING = 1, STATUS_NAVIGATING = 2, STATUS_STARTED = 3,
  STATUS_STOPPED = 4, STATUS_PAUSED = 6, STATUS_RESETTING = 7
}

Public Member Functions

 LLMediaBase ()
virtual ~LLMediaBase ()
virtual bool init ()=0
virtual bool reset ()=0
virtual bool setMimeType (const std::string mime_type)=0
virtual std::string getMimeType () const =0
virtual std::string getMediaURL () const =0
virtual std::string getVersion ()=0
virtual bool set404RedirectUrl (std::string redirect_url)=0
virtual bool clr404RedirectUrl ()=0
virtual bool setBackgroundColor (unsigned int red, unsigned int green, unsigned int blue) const =0
virtual bool setCaretColor (unsigned int red, unsigned int green, unsigned int blue) const =0
virtual bool updateMedia ()=0
virtual bool setRequestedMediaSize (int media_width, int media_height)=0
virtual int getMediaWidth () const =0
virtual int getMediaHeight () const =0
virtual bool setMediaDepth (int media_depth)=0
virtual int getMediaDepth () const =0
virtual int getMediaBufferSize () const =0
virtual unsigned char * getMediaData ()=0
virtual int getMediaDataWidth () const =0
virtual int getMediaDataHeight () const =0
virtual int getTextureFormatInternal () const =0
virtual int getTextureFormatPrimary () const =0
virtual int getTextureFormatType () const =0
virtual bool setVolume (float volume)=0
virtual float getVolume () const =0
virtual bool addCommand (ECommand cmd)=0
virtual bool clearCommand ()=0
virtual bool updateCommand ()=0
virtual EStatus getStatus ()=0
virtual bool seek (double time)=0
virtual bool setLooping (bool enable)=0
virtual bool isLooping ()=0
virtual bool setAutoScaled (bool auto_scaled)=0
virtual bool isAutoScaled () const =0
virtual bool mouseDown (int x_pos, int y_pos)=0
virtual bool mouseUp (int x_pos, int y_pos)=0
virtual bool mouseMove (int x_pos, int y_pos)=0
virtual bool keyPress (int key_code)=0
virtual bool scrollByLines (int lines)=0
virtual bool focus (bool focus)=0
virtual bool unicodeInput (unsigned long uni_char)=0
virtual bool mouseLeftDoubleClick (int x_pos, int y_pos)=0
virtual bool navigateTo (const std::string url)=0
virtual bool navigateForward ()=0
virtual bool navigateBack ()=0
virtual bool canNavigateForward ()=0
virtual bool canNavigateBack ()=0
virtual bool enableCookies (bool enable)=0
virtual bool clearCache ()=0
virtual bool clearCookies ()=0
virtual bool enableProxy (bool enable, std::string proxy_host_name, int proxy_port)=0
virtual bool addObserver (LLMediaObserver *subject)=0
virtual bool remObserver (LLMediaObserver *subject)=0
virtual void setImplMaker (LLMediaImplMakerBase *impl_maker)=0
virtual bool supportsMediaType (std::string scheme, std::string type)=0


Detailed Description

Definition at line 68 of file llmediabase.h.


Member Enumeration Documentation

Enumerator:
COMMAND_NONE 
COMMAND_STOP 
COMMAND_START 
COMMAND_PAUSE 
COMMAND_BACK 
COMMAND_FORWARD 

Definition at line 160 of file llmediabase.h.

Enumerator:
STATUS_UNKNOWN 
STATUS_INITIALIZING 
STATUS_NAVIGATING 
STATUS_STARTED 
STATUS_STOPPED 
STATUS_PAUSED 
STATUS_RESETTING 

Definition at line 168 of file llmediabase.h.


Constructor & Destructor Documentation

LLMediaBase::LLMediaBase (  )  [inline]

Definition at line 71 of file llmediabase.h.

virtual LLMediaBase::~LLMediaBase (  )  [inline, virtual]

Definition at line 72 of file llmediabase.h.


Member Function Documentation

virtual bool LLMediaBase::init (  )  [pure virtual]

Implemented in LLMediaImplCommon, LLMediaImplExample1, and LLMediaImplExample2.

Referenced by LLMediaManager::createSourceFromMimeType().

Here is the caller graph for this function:

virtual bool LLMediaBase::reset (  )  [pure virtual]

virtual bool LLMediaBase::setMimeType ( const std::string  mime_type  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLMediaManager::createSourceFromMimeType().

Here is the caller graph for this function:

virtual std::string LLMediaBase::getMimeType (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

virtual std::string LLMediaBase::getMediaURL (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

virtual std::string LLMediaBase::getVersion (  )  [pure virtual]

Implemented in LLMediaImplCommon, LLMediaImplExample1, and LLMediaImplExample2.

Referenced by LLFloaterAbout::LLFloaterAbout().

Here is the caller graph for this function:

virtual bool LLMediaBase::set404RedirectUrl ( std::string  redirect_url  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::set404RedirectUrl().

Here is the caller graph for this function:

virtual bool LLMediaBase::clr404RedirectUrl (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::clr404RedirectUrl().

Here is the caller graph for this function:

virtual bool LLMediaBase::setBackgroundColor ( unsigned int  red,
unsigned int  green,
unsigned int  blue 
) const [pure virtual]

Implemented in LLMediaImplCommon.

virtual bool LLMediaBase::setCaretColor ( unsigned int  red,
unsigned int  green,
unsigned int  blue 
) const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::setCaretColor().

Here is the caller graph for this function:

virtual bool LLMediaBase::updateMedia (  )  [pure virtual]

Implemented in LLMediaImplCommon, LLMediaImplExample1, and LLMediaImplExample2.

Referenced by LLMediaManager::updateClass().

Here is the caller graph for this function:

virtual bool LLMediaBase::setRequestedMediaSize ( int  media_width,
int  media_height 
) [pure virtual]

Implemented in LLMediaImplCommon, LLMediaImplExample1, and LLMediaImplExample2.

Referenced by LLViewerMediaImpl::play(), and LLWebBrowserTexture::resize().

Here is the caller graph for this function:

virtual int LLMediaBase::getMediaWidth (  )  const [pure virtual]

virtual int LLMediaBase::getMediaHeight (  )  const [pure virtual]

virtual bool LLMediaBase::setMediaDepth ( int  media_depth  )  [pure virtual]

Implemented in LLMediaImplCommon.

virtual int LLMediaBase::getMediaDepth (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::initializePlaceholderImage(), LLWebBrowserTexture::render(), and LLWebBrowserTexture::resize().

Here is the caller graph for this function:

virtual int LLMediaBase::getMediaBufferSize (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

virtual unsigned char* LLMediaBase::getMediaData (  )  [pure virtual]

virtual int LLMediaBase::getMediaDataWidth (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::onMediaContentsChange(), LLWebBrowserTexture::render(), and LLWebBrowserTexture::resize().

Here is the caller graph for this function:

virtual int LLMediaBase::getMediaDataHeight (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::onMediaContentsChange(), LLWebBrowserTexture::render(), and LLWebBrowserTexture::resize().

Here is the caller graph for this function:

virtual int LLMediaBase::getTextureFormatInternal (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::initializePlaceholderImage().

Here is the caller graph for this function:

virtual int LLMediaBase::getTextureFormatPrimary (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::initializePlaceholderImage().

Here is the caller graph for this function:

virtual int LLMediaBase::getTextureFormatType (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::initializePlaceholderImage().

Here is the caller graph for this function:

virtual bool LLMediaBase::setVolume ( float  volume  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::setVolume().

Here is the caller graph for this function:

virtual float LLMediaBase::getVolume (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

virtual bool LLMediaBase::addCommand ( ECommand  cmd  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::LLWebBrowserCtrl(), LLViewerMediaImpl::pause(), LLViewerMediaImpl::play(), and LLViewerMediaImpl::start().

Here is the caller graph for this function:

virtual bool LLMediaBase::clearCommand (  )  [pure virtual]

Implemented in LLMediaImplCommon.

virtual bool LLMediaBase::updateCommand (  )  [pure virtual]

Implemented in LLMediaImplCommon.

virtual EStatus LLMediaBase::getStatus (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::getStatus().

Here is the caller graph for this function:

virtual bool LLMediaBase::seek ( double  time  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::seek().

Here is the caller graph for this function:

virtual bool LLMediaBase::setLooping ( bool  enable  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::play().

Here is the caller graph for this function:

virtual bool LLMediaBase::isLooping (  )  [pure virtual]

Implemented in LLMediaImplCommon.

virtual bool LLMediaBase::setAutoScaled ( bool  auto_scaled  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::play().

Here is the caller graph for this function:

virtual bool LLMediaBase::isAutoScaled (  )  const [pure virtual]

Implemented in LLMediaImplCommon.

virtual bool LLMediaBase::mouseDown ( int  x_pos,
int  y_pos 
) [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleMouseDown().

Here is the caller graph for this function:

virtual bool LLMediaBase::mouseUp ( int  x_pos,
int  y_pos 
) [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleMouseUp().

Here is the caller graph for this function:

virtual bool LLMediaBase::mouseMove ( int  x_pos,
int  y_pos 
) [pure virtual]

Implemented in LLMediaImplCommon, and LLMediaImplExample1.

Referenced by LLWebBrowserCtrl::handleHover().

Here is the caller graph for this function:

virtual bool LLMediaBase::keyPress ( int  key_code  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleKeyHere().

Here is the caller graph for this function:

virtual bool LLMediaBase::scrollByLines ( int  lines  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleScrollWheel().

Here is the caller graph for this function:

virtual bool LLMediaBase::focus ( bool  focus  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleMouseUp(), LLWebBrowserCtrl::onFocusLost(), and LLWebBrowserCtrl::onFocusReceived().

Here is the caller graph for this function:

virtual bool LLMediaBase::unicodeInput ( unsigned long  uni_char  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleUnicodeCharHere().

Here is the caller graph for this function:

virtual bool LLMediaBase::mouseLeftDoubleClick ( int  x_pos,
int  y_pos 
) [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::handleDoubleClick().

Here is the caller graph for this function:

virtual bool LLMediaBase::navigateTo ( const std::string  url  )  [pure virtual]

virtual bool LLMediaBase::navigateForward (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::navigateForward().

Here is the caller graph for this function:

virtual bool LLMediaBase::navigateBack (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::navigateBack().

Here is the caller graph for this function:

virtual bool LLMediaBase::canNavigateForward (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::canNavigateForward().

Here is the caller graph for this function:

virtual bool LLMediaBase::canNavigateBack (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::canNavigateBack().

Here is the caller graph for this function:

virtual bool LLMediaBase::enableCookies ( bool  enable  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLPanelWeb::cancel(), LLPanelWeb::onCommitCookies(), and LLPanelWeb::refresh().

Here is the caller graph for this function:

virtual bool LLMediaBase::clearCache (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLPanelWeb::callback_clear_browser_cache().

Here is the caller graph for this function:

virtual bool LLMediaBase::clearCookies (  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLPanelWeb::callback_clear_cookies().

Here is the caller graph for this function:

virtual bool LLMediaBase::enableProxy ( bool  enable,
std::string  proxy_host_name,
int  proxy_port 
) [pure virtual]

virtual bool LLMediaBase::addObserver ( LLMediaObserver subject  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLWebBrowserCtrl::LLWebBrowserCtrl(), and LLViewerMediaImpl::play().

Here is the caller graph for this function:

virtual bool LLMediaBase::remObserver ( LLMediaObserver subject  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLViewerMediaImpl::destroyMediaSource().

Here is the caller graph for this function:

virtual void LLMediaBase::setImplMaker ( LLMediaImplMakerBase impl_maker  )  [pure virtual]

Implemented in LLMediaImplCommon.

Referenced by LLMediaManager::createSourceFromMimeType().

Here is the caller graph for this function:

virtual bool LLMediaBase::supportsMediaType ( std::string  scheme,
std::string  type 
) [pure virtual]

Implemented in LLMediaImplCommon.


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

Generated on Fri May 16 08:52:23 2008 for SecondLife by  doxygen 1.5.5