#include <engine.h>

Classes | |
| struct | Unlocker |
Public Member Functions | |
| auto_ptr< Scope > | getPooledScope (const string &pool) |
| virtual void | interrupt (unsigned opSpec) |
| virtual void | interruptAll () |
| virtual Scope * | newScope () |
| virtual auto_ptr< Unlocker > | newThreadUnlocker () |
| virtual void | runTest ()=0 |
| ScriptEngine () | |
| void | setScopeInitCallback (void(*func)(Scope &)) |
| void | threadDone () |
| virtual bool | utf8Ok () const =0 |
| virtual | ~ScriptEngine () |
Static Public Member Functions | |
| static const char * | checkInterrupt () |
| static unsigned | getInterruptSpec () |
| static bool | haveCheckInterruptCallback () |
| static bool | haveGetInterruptSpecCallback () |
| static bool | interrupted () |
| static void | runConnectCallback (DBClientWithCommands &c) |
| static void | setCheckInterruptCallback (const char *(*func)()) |
| static void | setConnectCallback (void(*func)(DBClientWithCommands &)) |
| static void | setGetInterruptSpecCallback (unsigned(*func)()) |
| static void | setup () |
Protected Member Functions | |
| virtual Scope * | createScope ()=0 |
Private Attributes | |
| void(* | _scopeInitCallback )(Scope &) |
Static Private Attributes | |
| static const char *(* | _checkInterruptCallback )() |
| static void(* | _connectCallback )(DBClientWithCommands &) |
| static unsigned(* | _getInterruptSpecCallback )() |
Definition at line 169 of file engine.h.
| mongo::ScriptEngine::ScriptEngine | ( | ) |
| virtual mongo::ScriptEngine::~ScriptEngine | ( | ) | [virtual] |
| static const char* mongo::ScriptEngine::checkInterrupt | ( | ) | [inline, static] |
| virtual Scope* mongo::ScriptEngine::createScope | ( | ) | [protected, pure virtual] |
Implemented in mongo::JavaJSImpl, and mongo::V8ScriptEngine.
| static unsigned mongo::ScriptEngine::getInterruptSpec | ( | ) | [inline, static] |
| auto_ptr<Scope> mongo::ScriptEngine::getPooledScope | ( | const string & | pool | ) |
| static bool mongo::ScriptEngine::haveCheckInterruptCallback | ( | ) | [inline, static] |
| static bool mongo::ScriptEngine::haveGetInterruptSpecCallback | ( | ) | [inline, static] |
| virtual void mongo::ScriptEngine::interrupt | ( | unsigned | opSpec | ) | [inline, virtual] |
Reimplemented in mongo::V8ScriptEngine.
| virtual void mongo::ScriptEngine::interruptAll | ( | ) | [inline, virtual] |
Reimplemented in mongo::V8ScriptEngine.
| static bool mongo::ScriptEngine::interrupted | ( | ) | [inline, static] |
| virtual Scope* mongo::ScriptEngine::newScope | ( | ) | [inline, virtual] |
| virtual auto_ptr<Unlocker> mongo::ScriptEngine::newThreadUnlocker | ( | ) | [inline, virtual] |
Reimplemented in mongo::V8ScriptEngine.
| static void mongo::ScriptEngine::runConnectCallback | ( | DBClientWithCommands & | c | ) | [inline, static] |
| virtual void mongo::ScriptEngine::runTest | ( | ) | [pure virtual] |
Implemented in mongo::JavaJSImpl, and mongo::V8ScriptEngine.
| static void mongo::ScriptEngine::setCheckInterruptCallback | ( | const char *(*)() | func | ) | [inline, static] |
| static void mongo::ScriptEngine::setConnectCallback | ( | void(*)(DBClientWithCommands &) | func | ) | [inline, static] |
| static void mongo::ScriptEngine::setGetInterruptSpecCallback | ( | unsigned(*)() | func | ) | [inline, static] |
| void mongo::ScriptEngine::setScopeInitCallback | ( | void(*)(Scope &) | func | ) | [inline] |
| static void mongo::ScriptEngine::setup | ( | ) | [static] |
| void mongo::ScriptEngine::threadDone | ( | ) |
| virtual bool mongo::ScriptEngine::utf8Ok | ( | ) | const [pure virtual] |
Implemented in mongo::V8ScriptEngine.
const char*( * mongo::ScriptEngine::_checkInterruptCallback)() [static, private] |
void( * mongo::ScriptEngine::_connectCallback)(DBClientWithCommands &) [static, private] |
unsigned( * mongo::ScriptEngine::_getInterruptSpecCallback)() [static, private] |
void( * mongo::ScriptEngine::_scopeInitCallback)(Scope &) [private] |