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

#include <cScriptContext.h>

Static Public Member Functions

static cScriptContext *GRAYCALL GetContextRoot ()
 
static cScriptContext *GRAYCALL GetContextCurrent ()
 
static cScriptContext *GRAYCALL GetContextSafe (cScriptContext *pContext)
 

Detailed Description

Member Function Documentation

◆ GetContextCurrent()

cScriptContext *GRAYCALL GrayLib::cScriptContextMgr::GetContextCurrent ( )
static

should not return nullptr. will return cExpressionContext::m_pContextRoot.

◆ GetContextRoot()

cScriptContext *GRAYCALL GrayLib::cScriptContextMgr::GetContextRoot ( )
static

Get the root/default context, for global Var(s), and global Root object (for all threads).

◆ GetContextSafe()

cScriptContext *GRAYCALL GrayLib::cScriptContextMgr::GetContextSafe ( cScriptContext pContext)
static

Use current context if one is not supplied.


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