Sirikata
|
Functions | |
v8::Handle< v8::Value > | ScriptSuspend (const v8::Arguments &args) |
Calling suspends sandbox. | |
v8::Handle< v8::Value > | ScriptResume (const v8::Arguments &args) |
Resumes suspended sandbox. | |
v8::Handle< v8::Value > | ScriptClear (const v8::Arguments &args) |
Destroys all objects that were created in this context + all of this context's subcontexts. | |
v8::Handle< v8::Value > | ScriptExecute (const v8::Arguments &args) |
void | setNullContext (const v8::Arguments &args) |
Sets args.This to point to null instead of a timer object. |
v8::Handle< v8::Value > Sirikata::JS::JSContext::ScriptClear | ( | const v8::Arguments & | args | ) |
Destroys all objects that were created in this context + all of this context's subcontexts.
References Sirikata::JS::JSTimer::clear(), INLINE_DECODE_CONTEXT_ERROR, and setNullContext().
Referenced by Sirikata::JS::JSObjectScriptManager::createContextTemplate().
v8::Handle< v8::Value > Sirikata::JS::JSContext::ScriptExecute | ( | const v8::Arguments & | args | ) |
References INLINE_DECODE_CONTEXT_ERROR.
Referenced by Sirikata::JS::JSObjectScriptManager::createContextTemplate().
v8::Handle< v8::Value > Sirikata::JS::JSContext::ScriptResume | ( | const v8::Arguments & | args | ) |
Resumes suspended sandbox.
References Sirikata::JS::JSContextStruct::decodeContextStruct(), and Sirikata::JS::JSContextStruct::resume().
Referenced by Sirikata::JS::JSObjectScriptManager::createContextTemplate().
v8::Handle< v8::Value > Sirikata::JS::JSContext::ScriptSuspend | ( | const v8::Arguments & | args | ) |
Calling suspends sandbox.
(Until resume is called, no code within sandbox will execute.)
References Sirikata::JS::JSContextStruct::decodeContextStruct(), and Sirikata::JS::JSContextStruct::suspend().
Referenced by Sirikata::JS::JSObjectScriptManager::createContextTemplate().
void Sirikata::JS::JSContext::setNullContext | ( | const v8::Arguments & | args | ) |
Sets args.This to point to null instead of a timer object.
References CONTEXT_FIELD_CONTEXT_STRUCT.
Referenced by ScriptClear().