TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iScriptingHost Struct Referenceabstract
Inheritance diagram for iScriptingHost:
iUnknown iScriptVM

Detailed Description

Scripting host interface.

Remarks
The context is an indicator of a 'group/class' of object/implementation. {DispatchWrapper}

Public Member Functions

virtual tBool EvalString (iHString *ahspContext, const ni::achar *aaszCode)=0
 Evaluate the specified string. More...
 
virtual tBool CanEvalImpl (iHString *ahspContext, iHString *ahspCodeResource)=0
 Check whether the scripting host can evaluate the specified code resource. More...
 
virtual iUnknownEvalImpl (iHString *ahspContext, iHString *ahspCodeResource, const tUUID &aIID)=0
 Evaluate the specified implementation from the specified 'code resource'. More...
 
virtual void Service (tBool abForceGC)=0
 Service the scripting host. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual tBool EvalString ( iHString ahspContext,
const ni::achar aaszCode 
)
pure virtual

Evaluate the specified string.

Implemented in iScriptVM.

virtual tBool CanEvalImpl ( iHString ahspContext,
iHString ahspCodeResource 
)
pure virtual

Check whether the scripting host can evaluate the specified code resource.

Implemented in iScriptVM.

virtual iUnknown* EvalImpl ( iHString ahspContext,
iHString ahspCodeResource,
const tUUID aIID 
)
pure virtual

Evaluate the specified implementation from the specified 'code resource'.

Remarks
The code resource can be a file name, class name, or whathever is relevant as an implementation identifier depending on the type of the scripting host.

Implemented in iScriptVM.

virtual void Service ( tBool  abForceGC)
pure virtual

Service the scripting host.

Implemented in iScriptVM.