#include <llmediaimplexample1.h>
Public Member Functions | |
LLMediaImplExample1 () | |
bool | init () |
bool | navigateTo (const std::string url) |
bool | updateMedia () |
std::string | getVersion () |
unsigned char * | getMediaData () |
bool | reset () |
bool | mouseMove (int x_pos, int y_pos) |
bool | setRequestedMediaSize (int width, int height) |
Static Public Member Functions | |
static bool | startup (LLMediaManagerData *init_data) |
static bool | closedown () |
Private Attributes | |
unsigned char * | mMediaPixels |
Definition at line 40 of file llmediaimplexample1.h.
LLMediaImplExample1::LLMediaImplExample1 | ( | ) |
Definition at line 52 of file llmediaimplexample1.cpp.
References NULL, LLMediaImplCommon::setMediaDepth(), and setRequestedMediaSize().
bool LLMediaImplExample1::startup | ( | LLMediaManagerData * | init_data | ) | [static] |
Definition at line 63 of file llmediaimplexample1.cpp.
Referenced by LLMediaManager::initClass().
bool LLMediaImplExample1::closedown | ( | ) | [static] |
Definition at line 70 of file llmediaimplexample1.cpp.
Referenced by LLMediaManager::cleanupClass().
bool LLMediaImplExample1::init | ( | void | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 77 of file llmediaimplexample1.cpp.
References LLMediaImplCommon::getMediaBufferSize(), and mMediaPixels.
bool LLMediaImplExample1::navigateTo | ( | const std::string | url | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 90 of file llmediaimplexample1.cpp.
References LLMediaImplCommon::mEventEmitter, LLMediaObserver::onMediaSizeChange(), LLMediaImplCommon::setStatus(), LLMediaBase::STATUS_NAVIGATING, and LLMediaEmitter< T >::update().
bool LLMediaImplExample1::updateMedia | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 114 of file llmediaimplexample1.cpp.
References LLMediaImplCommon::getMediaDepth(), LLMediaImplCommon::getMediaHeight(), LLMediaImplCommon::getMediaWidth(), LLMediaImplCommon::getStatus(), LLMediaImplCommon::mEventEmitter, mMediaPixels, LLMediaObserver::onMediaContentsChange(), LLMediaBase::STATUS_STARTED, LLMediaEmitter< T >::update(), and LLMediaImplCommon::updateCommand().
std::string LLMediaImplExample1::getVersion | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 105 of file llmediaimplexample1.cpp.
References LLMediaImplRegister::getImplName(), and sLLMediaImplExample1Reg.
unsigned char * LLMediaImplExample1::getMediaData | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 184 of file llmediaimplexample1.cpp.
References mMediaPixels.
bool LLMediaImplExample1::reset | ( | ) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 191 of file llmediaimplexample1.cpp.
References mMediaPixels.
bool LLMediaImplExample1::mouseMove | ( | int | x_pos, | |
int | y_pos | |||
) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 203 of file llmediaimplexample1.cpp.
References LLMediaImplCommon::getMediaDepth(), LLMediaImplCommon::getMediaWidth(), LLMediaImplCommon::getStatus(), LLMediaImplCommon::mEventEmitter, mMediaPixels, LLMediaObserver::onMediaContentsChange(), LLMediaBase::STATUS_STARTED, and LLMediaEmitter< T >::update().
bool LLMediaImplExample1::setRequestedMediaSize | ( | int | width, | |
int | height | |||
) | [virtual] |
Reimplemented from LLMediaImplCommon.
Definition at line 224 of file llmediaimplexample1.cpp.
References LLMediaImplCommon::setMediaSize().
Referenced by LLMediaImplExample1().
unsigned char* LLMediaImplExample1::mMediaPixels [private] |
Definition at line 59 of file llmediaimplexample1.h.
Referenced by getMediaData(), init(), mouseMove(), reset(), and updateMedia().