Shaka Player Embedded
|
#include <js_engine.h>
Classes | |
struct | SetupContext |
Public Member Functions | |
JsEngine () | |
~JsEngine () | |
Handle< JsObject > | global_handle () |
ReturnVal< JsValue > | global_value () |
![]() | |
PseudoSingleton () | |
~PseudoSingleton () | |
Additional Inherited Members | |
![]() | |
static JsEngine * | Instance () |
static JsEngine * | InstanceOrNull () |
Manages the global JavaScript engine. This involves initializing any global state and creating a new context that this manages. This should be the first member of JsManager::Impl to ensure the JavaScript engine is setup before anything else. This does not free the global state, only the context, allowing multiple to exist, so long as there is only one at a time.
Definition at line 38 of file js_engine.h.
shaka::JsEngine::JsEngine | ( | ) |
shaka::JsEngine::~JsEngine | ( | ) |
Handle<JsObject> shaka::JsEngine::global_handle | ( | ) |
ReturnVal<JsValue> shaka::JsEngine::global_value | ( | ) |