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

Public Member Functions

 Interface_impl (const char *nativeScopeName, Context &context, JS::Compartment *compartment, std::function< bool(const VfsPath &)> allowModule)
 
 ~Interface_impl ()
 

Public Attributes

Context & m_context
 
friend Request
 
boost::rand48 * m_rng
 
JS::PersistentRootedObject m_nativeScope
 
ModuleLoader m_ModuleLoader
 

Private Attributes

JSContext * m_cx
 
JS::PersistentRootedObject m_glob
 

Constructor & Destructor Documentation

◆ Interface_impl()

Script::Interface_impl::Interface_impl ( const char *  nativeScopeName,
Context &  context,
JS::Compartment *  compartment,
std::function< bool(const VfsPath &)>  allowModule 
)

◆ ~Interface_impl()

Script::Interface_impl::~Interface_impl ( )

Member Data Documentation

◆ m_context

Context& Script::Interface_impl::m_context

◆ m_cx

JSContext* Script::Interface_impl::m_cx
private

◆ m_glob

JS::PersistentRootedObject Script::Interface_impl::m_glob
private

◆ m_ModuleLoader

ModuleLoader Script::Interface_impl::m_ModuleLoader

◆ m_nativeScope

JS::PersistentRootedObject Script::Interface_impl::m_nativeScope

◆ m_rng

boost::rand48* Script::Interface_impl::m_rng

◆ Request

friend Script::Interface_impl::Request

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