Sirikata
|
#include "../JSUtil.hpp"
#include "../EmersonScript.hpp"
#include "JSContextStruct.hpp"
#include <v8.h>
#include <sirikata/core/network/IOTimer.hpp>
#include "JSSuspendable.hpp"
#include <sirikata/core/util/Liveness.hpp>
#include "../JSCtx.hpp"
Go to the source code of this file.
Classes | |
struct | Sirikata::JS::JSTimerStruct |
struct | Sirikata::JS::JSTimerLivenessHolder |
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_TIMER_CONV_ERROR(toConvert, whereError, whichArg, whereWriteTo) |
Typedefs | |
typedef std::map < JSTimerStruct *, int > | Sirikata::JS::TimerMap |
typedef TimerMap::iterator | Sirikata::JS::TimerIter |
#define INLINE_TIMER_CONV_ERROR | ( | toConvert, | |
whereError, | |||
whichArg, | |||
whereWriteTo | |||
) |
JSTimerStruct* whereWriteTo; \ { \ String _errMsg = "In " #whereError "cannot convert " #whichArg " to timer struct"; \ whereWriteTo = JSTimerStruct::decodeTimerStruct(toConvert,_errMsg); \ if (whereWriteTo == NULL) \ return v8::ThrowException(v8::Exception::Error(v8::String::New(_errMsg.c_str(), _errMsg.length()))); \ }