Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ScriptInterface_impl Struct Reference
Collaboration diagram for ScriptInterface_impl:

Public Member Functions

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

Public Attributes

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,
ScriptContext context,
JS::Compartment *  compartment 
)

◆ ~ScriptInterface_impl()

ScriptInterface_impl::~ScriptInterface_impl ( )

Member Data Documentation

◆ m_context

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: