Pyrogenesis
trunk
|
Public Types | |
typedef std::map< ScriptInterface::CACHED_VAL, JS::PersistentRootedValue > | ScriptValCache |
Public Member Functions | |
ScriptInterface_impl (const char *nativeScopeName, const shared_ptr< ScriptRuntime > &runtime) | |
~ScriptInterface_impl () | |
void | Register (const char *name, JSNative fptr, uint nargs) |
Public Attributes | |
shared_ptr< ScriptRuntime > | m_runtime |
JSContext * | m_cx |
JS::PersistentRootedObject | m_glob |
JSCompartment * | m_comp |
boost::rand48 * | m_rng |
JS::PersistentRootedObject | m_nativeScope |
ScriptValCache | m_ScriptValCache |
typedef std::map<ScriptInterface::CACHED_VAL, JS::PersistentRootedValue> ScriptInterface_impl::ScriptValCache |
ScriptInterface_impl::ScriptInterface_impl | ( | const char * | nativeScopeName, |
const shared_ptr< ScriptRuntime > & | runtime | ||
) |
ScriptInterface_impl::~ScriptInterface_impl | ( | ) |
void ScriptInterface_impl::Register | ( | const char * | name, |
JSNative | fptr, | ||
uint | nargs | ||
) |
JSCompartment* ScriptInterface_impl::m_comp |
JSContext* ScriptInterface_impl::m_cx |
JS::PersistentRootedObject ScriptInterface_impl::m_glob |
JS::PersistentRootedObject ScriptInterface_impl::m_nativeScope |
boost::rand48* ScriptInterface_impl::m_rng |
shared_ptr<ScriptRuntime> ScriptInterface_impl::m_runtime |
ScriptValCache ScriptInterface_impl::m_ScriptValCache |