Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayJS::cJSXContext Class Reference

#include <cJSXContext.h>

Inheritance diagram for GrayJS::cJSXContext:
Gray::cRefBase IUnknown

Public Member Functions

 cJSXContext ()
 
virtual ~cJSXContext ()
 
bool InitContext ()
 
void DestroyContext ()
 
cJSContextget_JSCx () const
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 

Detailed Description

Wrapper/Holder for JavaScript JSContext. not the same as cScriptContext. One per real thread. Essentially a JS thread.

Constructor & Destructor Documentation

◆ cJSXContext()

GrayJS::cJSXContext::cJSXContext ( )

◆ ~cJSXContext()

GrayJS::cJSXContext::~cJSXContext ( )
virtual

Member Function Documentation

◆ DestroyContext()

void GrayJS::cJSXContext::DestroyContext ( )

◆ get_JSCx()

cJSContext* GrayJS::cJSXContext::get_JSCx ( ) const
inline

◆ InitContext()

bool GrayJS::cJSXContext::InitContext ( )

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