Sirikata
|
#include <sirikata/oh/HostedObject.hpp>
#include <v8.h>
#include "../JSEntityCreateInfo.hpp"
#include <sirikata/oh/Storage.hpp>
#include "JSPresenceStruct.hpp"
#include "JSContextStruct.hpp"
#include "JSCapabilitiesConsts.hpp"
Go to the source code of this file.
Classes | |
struct | Sirikata::JS::JSSystemStruct |
Namespaces | |
namespace | Sirikata |
Note: All the classes provided in this file are thin wrappers around the corresponding classes in ASIO. | |
namespace | Sirikata::JS |
Defines | |
#define | INLINE_SYSTEM_CONV_ERROR(toConvert, whereError, whichArg, whereWriteTo) |
#define INLINE_SYSTEM_CONV_ERROR | ( | toConvert, | |
whereError, | |||
whichArg, | |||
whereWriteTo | |||
) |
JSSystemStruct* whereWriteTo; \ { \ String _errMsg = "In " #whereError "cannot convert " #whichArg " to system struct"; \ whereWriteTo = JSSystemStruct::decodeSystemStruct(toConvert,_errMsg); \ if (whereWriteTo == NULL) \ return v8::ThrowException(v8::Exception::Error(v8::String::New(_errMsg.c_str(), _errMsg.length()))); \ }
Referenced by Sirikata::JS::JSSystem::emersonCompileString(), Sirikata::JS::JSSystem::getAssociatedPresence(), Sirikata::JS::JSSystem::popEvalContextScopeDirectory(), Sirikata::JS::JSSystem::pushEvalContextScopeDirectory(), Sirikata::JS::JSSystem::root_http(), Sirikata::JS::JSSystem::root_killEntity(), Sirikata::JS::JSSystem::root_sendSandbox(), Sirikata::JS::JSSystem::setPresenceMessageCallback(), and Sirikata::JS::JSSystem::setSandboxMessageCallback().