Pyrogenesis  trunk
Public Member Functions | Public Attributes | Private Attributes | List of all members
ScriptInterface_impl Struct Reference

Public Member Functions

 ScriptInterface_impl (const char *nativeScopeName, const std::shared_ptr< ScriptContext > &context, JS::Compartment *compartment)
 
 ~ScriptInterface_impl ()
 

Public Attributes

std::shared_ptr< ScriptContextm_context
 
friend ScriptRequest
 
boost::rand48 * m_rng
 
JS::PersistentRootedObject m_nativeScope
 

Private Attributes

JSContext * m_cx
 
JS::PersistentRootedObject m_glob
 

Constructor & Destructor Documentation

◆ ScriptInterface_impl()

ScriptInterface_impl::ScriptInterface_impl ( const char *  nativeScopeName,
const std::shared_ptr< ScriptContext > &  context,
JS::Compartment *  compartment 
)

◆ ~ScriptInterface_impl()

ScriptInterface_impl::~ScriptInterface_impl ( )

Member Data Documentation

◆ m_context

std::shared_ptr<ScriptContext> ScriptInterface_impl::m_context

◆ m_cx

JSContext* ScriptInterface_impl::m_cx
private

◆ m_glob

JS::PersistentRootedObject ScriptInterface_impl::m_glob
private

◆ m_nativeScope

JS::PersistentRootedObject ScriptInterface_impl::m_nativeScope

◆ m_rng

boost::rand48* ScriptInterface_impl::m_rng

◆ ScriptRequest

friend ScriptInterface_impl::ScriptRequest

The documentation for this struct was generated from the following file: