Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
JSInterface_GUIProxy::MapCache Class Reference

#include <JSInterface_GUIProxy_impl.h>

Inheritance diagram for JSInterface_GUIProxy::MapCache:
Collaboration diagram for JSInterface_GUIProxy::MapCache:

Public Member Functions

virtual ~MapCache ()
 
virtual bool has (const std::string &name) const override
 
virtual JSObject * get (const std::string &name) const override
 
virtual bool setFunction (const ScriptRequest &rq, const std::string &name, JSFunction *function) override
 
- Public Member Functions inherited from GUIProxyProps
virtual ~GUIProxyProps ()
 
virtual bool has (const std::string &name) const =0
 
virtual JSObject * get (const std::string &name) const =0
 
virtual bool setFunction (const ScriptRequest &rq, const std::string &name, JSFunction *function)=0
 

Protected Attributes

std::unordered_map< std::string, JS::PersistentRootedObject > m_Functions
 

Constructor & Destructor Documentation

◆ ~MapCache()

virtual JSInterface_GUIProxy::MapCache::~MapCache ( )
inlinevirtual

Member Function Documentation

◆ get()

virtual JSObject * JSInterface_GUIProxy::MapCache::get ( const std::string &  name) const
inlineoverridevirtual

Implements GUIProxyProps.

◆ has()

virtual bool JSInterface_GUIProxy::MapCache::has ( const std::string &  name) const
inlineoverridevirtual

Implements GUIProxyProps.

◆ setFunction()

virtual bool JSInterface_GUIProxy::MapCache::setFunction ( const ScriptRequest rq,
const std::string &  name,
JSFunction *  function 
)
inlineoverridevirtual

Implements GUIProxyProps.

Member Data Documentation

◆ m_Functions

std::unordered_map<std::string, JS::PersistentRootedObject> JSInterface_GUIProxy::MapCache::m_Functions
protected

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