Sirikata
|
#include <JSSystemStruct.hpp>
Public Member Functions | |
JSSystemStruct (JSContextStruct *jscont, Capabilities::CapNum capNum) | |
~JSSystemStruct () | |
v8::Handle< v8::Value > | proxAddedHandlerCallallback (v8::Handle< v8::Function >cb) |
v8::Handle< v8::Value > | proxRemovedHandlerCallallback (v8::Handle< v8::Function >cb) |
v8::Handle< v8::Value > | struct_canSendMessage () |
v8::Handle< v8::Value > | struct_canRecvMessage () |
v8::Handle< v8::Value > | struct_canProxCallback () |
v8::Handle< v8::Value > | struct_canProxChangeQuery () |
v8::Handle< v8::Value > | struct_canImport () |
v8::Handle< v8::Value > | pushEvalContextScopeDirectory (const String &newDir) |
v8::Handle< v8::Value > | popEvalContextScopeDirectory () |
v8::Handle< v8::Value > | checkResources () |
v8::Handle< v8::Value > | struct_evalInGlobal (const String &native_contents, ScriptOrigin *sOrigin) |
v8::Handle< v8::Value > | checkHeadless () |
v8::Handle< v8::Value > | getAssociatedPresence () |
v8::Handle< v8::Value > | storageBeginTransaction () |
v8::Handle< v8::Value > | storageCommit (v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | storageWrite (const OH::Storage::Key &key, const String &toWrite, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | storageErase (const OH::Storage::Key &key, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | storageRead (const OH::Storage::Key &key, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | storageRangeRead (const OH::Storage::Key &start, const OH::Storage::Key &finish, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | storageRangeErase (const OH::Storage::Key &start, const OH::Storage::Key &finish, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | storageCount (const OH::Storage::Key &start, const OH::Storage::Key &finish, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | setRestoreScript (const String &key, v8::Handle< v8::Function > cb) |
v8::Handle< v8::Value > | killEntity () |
v8::Handle< v8::Value > | struct_canCreatePres () |
v8::Handle< v8::Value > | struct_canCreateEnt () |
v8::Handle< v8::Value > | struct_canEval () |
v8::Handle< v8::Value > | sendSandbox (const String &msgToSend, JSContextStruct *destination) |
v8::Handle< v8::Value > | setSandboxMessageCallback (v8::Persistent< v8::Function > callback) |
v8::Handle< v8::Value > | setPresenceMessageCallback (v8::Persistent< v8::Function > callback) |
v8::Handle< v8::Value > | emersonCompileString (const String &toCompile) |
v8::Handle< v8::Value > | struct_create_vis (const SpaceObjectReference &sporefWatching, JSVisibleDataPtr addParams) |
v8::Handle< v8::Value > | restorePresence (PresStructRestoreParams &psrp) |
v8::Handle< v8::Value > | debug_fileWrite (String &strToWrite, String &filename) |
v8::Handle< v8::Value > | debug_fileRead (String &filename) |
v8::Handle< v8::Value > | httpRequest (Sirikata::Network::Address addr, Transfer::HttpManager::HTTP_METHOD method, String request, v8::Persistent< v8::Function > cb) |
v8::Handle< v8::Value > | struct_print (const String &msg) |
v8::Handle< v8::Value > | struct_sendHome (const String &toSend) |
v8::Handle< v8::Value > | struct_import (const String &toImportFrom, bool isJS) |
v8::Handle< v8::Value > | struct_require (const String &toRequireFrom, bool isJS) |
v8::Handle< v8::Value > | struct_createEntity (EntityCreateInfo &eci) |
v8::Handle< v8::Value > | struct_createContext (JSPresenceStruct *jspres, const SpaceObjectReference &canSendTo, Capabilities::CapNum permNum) |
JSContextStruct * | getContext () |
v8::Handle< v8::Value > | struct_registerOnPresenceConnectedHandler (v8::Persistent< v8::Function > cb_persist) |
v8::Handle< v8::Value > | struct_registerOnPresenceDisconnectedHandler (v8::Persistent< v8::Function > cb_persist) |
v8::Handle< v8::Value > | sendMessageNoErrorHandler (JSPresenceStruct *jspres, const String &serialized_message, JSPositionListener *jspl, bool reliable) |
v8::Handle< v8::Value > | deserialize (const String &toDeserialize) |
v8::Handle< v8::Value > | struct_event (v8::Persistent< v8::Function > &cb) |
v8::Handle< v8::Value > | struct_createTimeout (double period, v8::Persistent< v8::Function > &cb) |
v8::Handle< v8::Value > | struct_createTimeout (double period, v8::Persistent< v8::Function > &cb, uint32 contID, double timeRemaining, bool isSuspended, bool isCleared) |
v8::Handle< v8::Value > | struct_setScript (const String &script) |
v8::Handle< v8::Value > | struct_getScript () |
v8::Handle< v8::Value > | struct_reset (const std::map< SpaceObjectReference, std::vector< SpaceObjectReference > > &proxResSet) |
Capabilities::CapNum | getCapNum () |
Static Public Member Functions | |
static JSSystemStruct * | decodeSystemStruct (v8::Handle< v8::Value > toDecode, std::string &errorMessage) |
Private Member Functions | |
void | stripCapEscalation (Capabilities::CapNum &permNum, Capabilities::Caps capRequesting, JSPresenceStruct *jspres, const String &capRequestingName) |
bool | checkCurCtxtHasCapability (JSPresenceStruct *jspres, Capabilities::Caps capRequesting) |
Private Attributes | |
JSContextStruct * | associatedContext |
uint32 | mCapNum |
Sirikata::JS::JSSystemStruct::JSSystemStruct | ( | JSContextStruct * | jscont, |
Capabilities::CapNum | capNum | ||
) |
Sirikata::JS::JSSystemStruct::~JSSystemStruct | ( | ) |
bool Sirikata::JS::JSSystemStruct::checkCurCtxtHasCapability | ( | JSPresenceStruct * | jspres, |
Capabilities::Caps | capRequesting | ||
) | [private] |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::checkHeadless | ( | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::checkHeadless().
Referenced by Sirikata::JS::JSSystem::root_headless().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::checkResources | ( | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::debug_fileRead | ( | String & | filename | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::debug_fileRead().
Referenced by Sirikata::JS::JSSystem::debug_fileRead().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::debug_fileWrite | ( | String & | strToWrite, |
String & | filename | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::debug_fileWrite().
Referenced by Sirikata::JS::JSSystem::debug_fileWrite().
JSSystemStruct * Sirikata::JS::JSSystemStruct::decodeSystemStruct | ( | v8::Handle< v8::Value > | toDecode, |
std::string & | errorMessage | ||
) | [static] |
References SYSTEM_TEMPLATE_FIELD_COUNT, and SYSTEM_TEMPLATE_SYSTEM_FIELD.
Referenced by Sirikata::JS::JSSystem::commonImport(), Sirikata::JS::JSSystem::commonRequire(), Sirikata::JS::JSSystem::debug_fileRead(), Sirikata::JS::JSSystem::debug_fileWrite(), Sirikata::JS::JSSystem::evalInGlobal(), Sirikata::JS::JSVisible::loadMesh(), Sirikata::JS::JSSystem::root_canCreateEnt(), Sirikata::JS::JSSystem::root_canCreatePres(), Sirikata::JS::JSSystem::root_canEval(), Sirikata::JS::JSSystem::root_canImport(), Sirikata::JS::JSSystem::root_canProxCallback(), Sirikata::JS::JSSystem::root_canProxChangeQuery(), Sirikata::JS::JSSystem::root_canRecvMessage(), Sirikata::JS::JSSystem::root_canSendMessage(), Sirikata::JS::JSSystem::root_createContext(), Sirikata::JS::JSSystem::root_createEntity(), Sirikata::JS::JSSystem::root_createEntityNoSpace(), Sirikata::JS::JSSystem::root_createVisible(), Sirikata::JS::JSSystem::root_deserialize(), Sirikata::JS::JSSystem::root_event(), Sirikata::JS::JSSystem::root_getScript(), Sirikata::JS::JSSystem::root_headless(), Sirikata::JS::JSSystem::root_onPresenceConnected(), Sirikata::JS::JSSystem::root_onPresenceDisconnected(), Sirikata::JS::JSSystem::root_print(), Sirikata::JS::JSSystem::root_proxAddedHandler(), Sirikata::JS::JSSystem::root_proxRemovedHandler(), Sirikata::JS::JSSystem::root_reset(), Sirikata::JS::JSSystem::root_restorePresence(), Sirikata::JS::JSSystem::root_sendHome(), Sirikata::JS::JSSystem::root_serialize(), Sirikata::JS::JSSystem::root_setScript(), Sirikata::JS::JSSystem::root_timeout(), Sirikata::JS::JSSystem::sendMessage(), Sirikata::JS::JSSerializer::serializeSystem(), Sirikata::JS::JSSystem::setRestoreScript(), Sirikata::JS::JSSystem::storageBeginTransaction(), Sirikata::JS::JSSystem::storageCommit(), Sirikata::JS::JSSystem::storageCount(), Sirikata::JS::JSSystem::storageErase(), Sirikata::JS::JSSystem::storageRangeErase(), Sirikata::JS::JSSystem::storageRangeRead(), Sirikata::JS::JSSystem::storageRead(), and Sirikata::JS::JSSystem::storageWrite().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::deserialize | ( | const String & | toDeserialize | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::deserialize().
Referenced by Sirikata::JS::JSSystem::root_deserialize().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::emersonCompileString | ( | const String & | toCompile | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::emersonCompileString().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::getAssociatedPresence | ( | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::getAssociatedPresence().
Capabilities::CapNum Sirikata::JS::JSSystemStruct::getCapNum | ( | ) |
References mCapNum.
Referenced by Sirikata::JS::JSContextStruct::getCapNum().
JSContextStruct * Sirikata::JS::JSSystemStruct::getContext | ( | ) |
References associatedContext.
Referenced by Sirikata::JS::JSVisible::loadMesh(), and Sirikata::JS::JSPresence::loadMesh().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::httpRequest | ( | Sirikata::Network::Address | addr, |
Transfer::HttpManager::HTTP_METHOD | method, | ||
String | request, | ||
v8::Persistent< v8::Function > | cb | ||
) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::killEntity | ( | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::killEntity().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::popEvalContextScopeDirectory | ( | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::proxAddedHandlerCallallback | ( | v8::Handle< v8::Function > | cb | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::proxAddedHandlerCallallback().
Referenced by Sirikata::JS::JSSystem::root_proxAddedHandler().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::proxRemovedHandlerCallallback | ( | v8::Handle< v8::Function > | cb | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::proxRemovedHandlerCallallback().
Referenced by Sirikata::JS::JSSystem::root_proxRemovedHandler().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::pushEvalContextScopeDirectory | ( | const String & | newDir | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::restorePresence | ( | PresStructRestoreParams & | psrp | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::sendMessageNoErrorHandler | ( | JSPresenceStruct * | jspres, |
const String & | serialized_message, | ||
JSPositionListener * | jspl, | ||
bool | reliable | ||
) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::sendSandbox | ( | const String & | msgToSend, |
JSContextStruct * | destination | ||
) |
{v8::Object} | msgToSend |
{JSContextStruct*} | destination. (If null, means send to parent). |
Sends a message from the sandbox associated with this system object to the sandbox associated with destination. If destination is null, sends to parent.
References associatedContext, and Sirikata::JS::JSContextStruct::sendSandbox().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::setPresenceMessageCallback | ( | v8::Persistent< v8::Function > | callback | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::setRestoreScript | ( | const String & | key, |
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::setRestoreScript().
Referenced by Sirikata::JS::JSSystem::setRestoreScript().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::setSandboxMessageCallback | ( | v8::Persistent< v8::Function > | callback | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageBeginTransaction | ( | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageBeginTransaction().
Referenced by Sirikata::JS::JSSystem::storageBeginTransaction().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageCommit | ( | v8::Handle< v8::Function > | cb | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageCommit().
Referenced by Sirikata::JS::JSSystem::storageCommit().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageCount | ( | const OH::Storage::Key & | start, |
const OH::Storage::Key & | finish, | ||
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageCount().
Referenced by Sirikata::JS::JSSystem::storageCount().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageErase | ( | const OH::Storage::Key & | key, |
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageErase().
Referenced by Sirikata::JS::JSSystem::storageErase().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageRangeErase | ( | const OH::Storage::Key & | start, |
const OH::Storage::Key & | finish, | ||
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageRangeErase().
Referenced by Sirikata::JS::JSSystem::storageRangeErase().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageRangeRead | ( | const OH::Storage::Key & | start, |
const OH::Storage::Key & | finish, | ||
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageRangeRead().
Referenced by Sirikata::JS::JSSystem::storageRangeRead().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageRead | ( | const OH::Storage::Key & | key, |
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageRead().
Referenced by Sirikata::JS::JSSystem::storageRead().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::storageWrite | ( | const OH::Storage::Key & | key, |
const String & | toWrite, | ||
v8::Handle< v8::Function > | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::storageWrite().
Referenced by Sirikata::JS::JSSystem::storageWrite().
void Sirikata::JS::JSSystemStruct::stripCapEscalation | ( | Capabilities::CapNum & | permNum, |
Capabilities::Caps | capRequesting, | ||
JSPresenceStruct * | jspres, | ||
const String & | capRequestingName | ||
) | [private] |
{Capabilities::CapNum} | The requested amount of capabilities. |
{Capabilities::Caps} | capRequesting Capability that scripter is requesting to imbue into new sandbox. |
{JSPresenceStruct} | jspres Default presence for new sandbox. |
If scripter is trying to request capabilities that the initial sandbox he/she is creating does not have, strips those capabilities.
References checkCurCtxtHasCapability(), Sirikata::Logging::info, and JSLOG.
Referenced by struct_createContext().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canCreateEnt | ( | ) |
References Sirikata::JS::Capabilities::CREATE_ENTITY, Sirikata::JS::Capabilities::givesCap(), and mCapNum.
Referenced by Sirikata::JS::JSSystem::root_canCreateEnt().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canCreatePres | ( | ) |
References Sirikata::JS::Capabilities::CREATE_PRESENCE, Sirikata::JS::Capabilities::givesCap(), and mCapNum.
Referenced by Sirikata::JS::JSSystem::root_canCreatePres().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canEval | ( | ) |
References Sirikata::JS::Capabilities::EVAL, Sirikata::JS::Capabilities::givesCap(), and mCapNum.
Referenced by Sirikata::JS::JSSystem::root_canEval().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canImport | ( | ) |
References Sirikata::JS::Capabilities::givesCap(), Sirikata::JS::Capabilities::IMPORT, and mCapNum.
Referenced by Sirikata::JS::JSSystem::root_canImport().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canProxCallback | ( | ) |
References Sirikata::JS::Capabilities::givesCap(), mCapNum, and Sirikata::JS::Capabilities::PROX_CALLBACKS.
Referenced by Sirikata::JS::JSSystem::root_canProxCallback().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canProxChangeQuery | ( | ) |
References Sirikata::JS::Capabilities::givesCap(), mCapNum, and Sirikata::JS::Capabilities::PROX_QUERIES.
Referenced by Sirikata::JS::JSSystem::root_canProxChangeQuery().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canRecvMessage | ( | ) |
References Sirikata::JS::Capabilities::givesCap(), mCapNum, and Sirikata::JS::Capabilities::RECEIVE_MESSAGE.
Referenced by Sirikata::JS::JSSystem::root_canRecvMessage().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_canSendMessage | ( | ) |
References Sirikata::JS::Capabilities::givesCap(), mCapNum, and Sirikata::JS::Capabilities::SEND_MESSAGE.
Referenced by Sirikata::JS::JSSystem::root_canSendMessage().
v8::Handle<v8::Value> Sirikata::JS::JSSystemStruct::struct_create_vis | ( | const SpaceObjectReference & | sporefWatching, |
JSVisibleDataPtr | addParams | ||
) | [inline] |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_create_vis().
Referenced by Sirikata::JS::JSSystem::root_createVisible().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_createContext | ( | JSPresenceStruct * | jspres, |
const SpaceObjectReference & | canSendTo, | ||
Capabilities::CapNum | permNum | ||
) |
References associatedContext, checkCurCtxtHasCapability(), Sirikata::JS::Capabilities::CREATE_ENTITY, Sirikata::JS::Capabilities::CREATE_PRESENCE, Sirikata::JS::Capabilities::CREATE_SANDBOX, Sirikata::JS::Capabilities::EVAL, Sirikata::JS::Capabilities::GUI, Sirikata::JS::Capabilities::HTTP, Sirikata::JS::Capabilities::IMPORT, Sirikata::JS::Capabilities::MESH, Sirikata::JS::Capabilities::MOVEMENT, Sirikata::JS::Capabilities::PROX_CALLBACKS, Sirikata::JS::Capabilities::PROX_QUERIES, Sirikata::JS::Capabilities::RECEIVE_MESSAGE, Sirikata::JS::Capabilities::SEND_MESSAGE, stripCapEscalation(), Sirikata::JS::JSContextStruct::struct_createContext(), and V8_EXCEPTION_CSTR.
Referenced by Sirikata::JS::JSSystem::root_createContext().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_createEntity | ( | EntityCreateInfo & | eci | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_createTimeout | ( | double | period, |
v8::Persistent< v8::Function > & | cb, | ||
uint32 | contID, | ||
double | timeRemaining, | ||
bool | isSuspended, | ||
bool | isCleared | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_createTimeout().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_createTimeout | ( | double | period, |
v8::Persistent< v8::Function > & | cb | ||
) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_createTimeout().
Referenced by Sirikata::JS::JSSystem::root_timeout().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_evalInGlobal | ( | const String & | native_contents, |
ScriptOrigin * | sOrigin | ||
) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_event | ( | v8::Persistent< v8::Function > & | cb | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_event().
Referenced by Sirikata::JS::JSSystem::root_event().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_getScript | ( | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_getScript().
Referenced by Sirikata::JS::JSSystem::root_getScript().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_import | ( | const String & | toImportFrom, |
bool | isJS | ||
) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_print | ( | const String & | msg | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::jsscript_print().
Referenced by Sirikata::JS::JSSystem::root_print().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_registerOnPresenceConnectedHandler | ( | v8::Persistent< v8::Function > | cb_persist | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_registerOnPresenceDisconnectedHandler | ( | v8::Persistent< v8::Function > | cb_persist | ) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_require | ( | const String & | toRequireFrom, |
bool | isJS | ||
) |
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_reset | ( | const std::map< SpaceObjectReference, std::vector< SpaceObjectReference > > & | proxResSet | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_setReset().
Referenced by Sirikata::JS::JSSystem::root_reset().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_sendHome | ( | const String & | toSend | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_sendHome().
Referenced by Sirikata::JS::JSSystem::root_sendHome().
v8::Handle< v8::Value > Sirikata::JS::JSSystemStruct::struct_setScript | ( | const String & | script | ) |
References associatedContext, and Sirikata::JS::JSContextStruct::struct_setScript().
Referenced by Sirikata::JS::JSSystem::root_setScript().
Referenced by checkCurCtxtHasCapability(), checkHeadless(), debug_fileRead(), debug_fileWrite(), deserialize(), emersonCompileString(), getAssociatedPresence(), getContext(), httpRequest(), killEntity(), popEvalContextScopeDirectory(), proxAddedHandlerCallallback(), proxRemovedHandlerCallallback(), pushEvalContextScopeDirectory(), restorePresence(), sendMessageNoErrorHandler(), sendSandbox(), setPresenceMessageCallback(), setRestoreScript(), setSandboxMessageCallback(), storageBeginTransaction(), storageCommit(), storageCount(), storageErase(), storageRangeErase(), storageRangeRead(), storageRead(), storageWrite(), struct_create_vis(), struct_createContext(), struct_createEntity(), struct_createTimeout(), struct_evalInGlobal(), struct_event(), struct_getScript(), struct_import(), struct_print(), struct_registerOnPresenceConnectedHandler(), struct_registerOnPresenceDisconnectedHandler(), struct_require(), struct_reset(), struct_sendHome(), and struct_setScript().
uint32 Sirikata::JS::JSSystemStruct::mCapNum [private] |
Referenced by getCapNum(), restorePresence(), struct_canCreateEnt(), struct_canCreatePres(), struct_canEval(), struct_canImport(), struct_canProxCallback(), struct_canProxChangeQuery(), struct_canRecvMessage(), struct_canSendMessage(), struct_createEntity(), struct_evalInGlobal(), struct_import(), and struct_require().