ScriptDebug Class Reference

Description

Interop class between C++ & CLR for Debug.

Inherits ScriptObject< ScriptDebug >.

Static methods

static void startUp ()
 Registers internal callbacks. More...
 
static void shutDown ()
 Unregisters internal callbacks. More...
 
- Static methods inherited from ScriptObject< ScriptDebug >
static ScriptDebugtoNative (MonoObject *managedInstance)
 Converts a managed instance into a specific interop object. More...
 
static const ScriptMetagetMetaData ()
 Returns the meta-data containing class and method information for the managed type. More...
 
static void _initMetaData ()
 Initializes the meta-data containing class and method information for the managed type. More...
 

Additional Inherited Members

- Methods inherited from ScriptObject< ScriptDebug >
 ScriptObject (MonoObject *instance)
 
void _clearManagedInstance ()
 Clears any managed instance references from the interop object. More...
 
void _restoreManagedInstance ()
 Allows persistent objects to restore their managed instances after assembly reload. More...
 
virtual MonoObject * _createManagedInstance (bool construct)
 Creates a new managed instance of the type wrapped by this interop object. More...
 
- Methods inherited from ScriptObjectBase
 ScriptObjectBase (MonoObject *instance)
 
MonoObject * getManagedInstance () const
 Gets the managed object this interop object represents. More...
 
virtual bool isPersistent () const
 Should the interop object persist through assembly reload. More...
 
virtual void _onManagedInstanceDeleted ()
 Called when the managed instance gets finalized by the CLR. More...
 
virtual ScriptObjectBackup beginRefresh ()
 Called before assembly reload starts to give the object a chance to back up its data. More...
 
virtual void endRefresh (const ScriptObjectBackup &data)
 Called after assembly reload starts to give the object a chance to restore the data backed up by the previous beginRefresh() call.
 

Method documentation

static void shutDown ( )
static

Unregisters internal callbacks.

Must be called on scripting system shutdown.

static void startUp ( )
static

Registers internal callbacks.

Must be called on scripting system load.