#include <llmediaimplexample2.h>
Public Member Functions | |
LLMediaImplExample2 () | |
bool | init () |
bool | navigateTo (const std::string url) |
bool | load (const std::string url) |
std::string | getVersion () |
bool | updateMedia () |
unsigned char * | getMediaData () |
bool | reset () |
bool | setRequestedMediaSize (int width, int height) |
Static Public Member Functions | |
static bool | startup (LLMediaManagerData *init_data) |
static bool | closedown () |
Private Attributes | |
unsigned char * | mMediaPixels |
int | mXpos |
int | mYpos |
Definition at line 41 of file llmediaimplexample2.h.
LLMediaImplExample2::LLMediaImplExample2 | ( | ) |
Definition at line 51 of file llmediaimplexample2.cpp.
References LLMediaImplCommon::getMediaHeight(), LLMediaImplCommon::getMediaWidth(), mXpos, mYpos, NULL, LLMediaImplCommon::setMediaDepth(), and setRequestedMediaSize().
bool LLMediaImplExample2::startup | ( | LLMediaManagerData * | init_data | ) | [static] |
Definition at line 65 of file llmediaimplexample2.cpp.
Referenced by LLMediaManager::initClass().
bool LLMediaImplExample2::closedown | ( | ) | [static] |
Definition at line 72 of file llmediaimplexample2.cpp.
Referenced by LLMediaManager::cleanupClass().
bool LLMediaImplExample2::init | ( | void | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 79 of file llmediaimplexample2.cpp.
References LLMediaImplCommon::getMediaBufferSize(), and mMediaPixels.
bool LLMediaImplExample2::navigateTo | ( | const std::string | url | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 92 of file llmediaimplexample2.cpp.
References LLMediaImplCommon::mEventEmitter, LLMediaObserver::onMediaSizeChange(), LLMediaImplCommon::setStatus(), LLMediaBase::STATUS_NAVIGATING, and LLMediaEmitter< T >::update().
bool LLMediaImplExample2::load | ( | const std::string | url | ) |
std::string LLMediaImplExample2::getVersion | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 107 of file llmediaimplexample2.cpp.
References LLMediaImplRegister::getImplName(), and sLLMediaImplExample2Reg.
bool LLMediaImplExample2::updateMedia | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 116 of file llmediaimplexample2.cpp.
References LLMediaImplCommon::getMediaDepth(), LLMediaImplCommon::getMediaHeight(), LLMediaImplCommon::getMediaWidth(), LLMediaImplCommon::getStatus(), LLMediaImplCommon::mEventEmitter, mMediaPixels, mXpos, mYpos, LLMediaObserver::onMediaContentsChange(), LLMediaBase::STATUS_STARTED, LLMediaEmitter< T >::update(), and LLMediaImplCommon::updateCommand().
unsigned char * LLMediaImplExample2::getMediaData | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 172 of file llmediaimplexample2.cpp.
References mMediaPixels.
bool LLMediaImplExample2::reset | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 179 of file llmediaimplexample2.cpp.
References mMediaPixels.
bool LLMediaImplExample2::setRequestedMediaSize | ( | int | width, | |
int | height | |||
) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 191 of file llmediaimplexample2.cpp.
References LLMediaImplCommon::setMediaSize().
Referenced by LLMediaImplExample2().
unsigned char* LLMediaImplExample2::mMediaPixels [private] |
Definition at line 60 of file llmediaimplexample2.h.
Referenced by getMediaData(), init(), reset(), and updateMedia().
int LLMediaImplExample2::mXpos [private] |
Definition at line 61 of file llmediaimplexample2.h.
Referenced by LLMediaImplExample2(), and updateMedia().
int LLMediaImplExample2::mYpos [private] |
Definition at line 62 of file llmediaimplexample2.h.
Referenced by LLMediaImplExample2(), and updateMedia().