Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
JS GUI proxies need to store some private data. More...
#include <JSInterface_GUIProxy.h>
Public Types | |
using | PrivateData = IGUIObject * |
Public Member Functions | |
JSObject * | Get () const |
Static Public Member Functions | |
template<typename T > | |
static T * | FromPrivateSlot (JSObject *obj) |
template<> | |
IGUIObject * | FromPrivateSlot (JSObject *) |
template<> | |
IGUIObject * | FromPrivateSlot (JSObject *obj) |
Protected Member Functions | |
IGUIProxyObject ()=default | |
IGUIProxyObject (const IGUIProxyObject &)=delete | |
IGUIProxyObject (IGUIProxyObject &&)=delete | |
Static Protected Member Functions | |
template<typename T > | |
static T * | UnsafeFromPrivateSlot (JSObject *obj) |
Protected Attributes | |
JS::PersistentRootedObject | m_Object |
PrivateData | m_Ptr |
Friends | |
template<typename T > | |
class | JSI_GUIProxy |
std::unique_ptr< IGUIProxyObject > | std::make_unique () |
JS GUI proxies need to store some private data.
This class is responsible for deleting that data.
using IGUIProxyObject::PrivateData = IGUIObject* |
|
protecteddefault |
|
protecteddelete |
|
protecteddelete |
|
static |
|
static |
|
inline |
|
inlinestaticprotected |
|
friend |
|
friend |
|
protected |
|
protected |