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

Detailed Description

Console sink. {DispatchWrapper}.

Public Member Functions

virtual void OnConsoleSink_NamespaceVariableChanged (const achar *aaszName, const achar *aaszValue)=0
 Called when a variable value changed. More...
 
virtual tBool OnConsoleSink_BeforeRunCommand (const achar *aaszCmd)=0
 Called before a console command is ran. More...
 
virtual void OnConsoleSink_AfterRunCommand (const achar *aaszCmd)=0
 Called after a console command is ran. More...
 
virtual tBool OnConsoleSink_BeforeRunScript (iScriptingHost *apHost, const achar *aaszCmd)=0
 Called before a script command is ran. More...
 
virtual void OnConsoleSink_AfterRunScript (iScriptingHost *apHost, const achar *aaszCmd)=0
 Called after a script command is ran. 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 void OnConsoleSink_NamespaceVariableChanged ( const achar aaszName,
const achar aaszValue 
)
pure virtual

Called when a variable value changed.

virtual tBool OnConsoleSink_BeforeRunCommand ( const achar aaszCmd)
pure virtual

Called before a console command is ran.

Returns
false to disallow the command run
virtual void OnConsoleSink_AfterRunCommand ( const achar aaszCmd)
pure virtual

Called after a console command is ran.

virtual tBool OnConsoleSink_BeforeRunScript ( iScriptingHost apHost,
const achar aaszCmd 
)
pure virtual

Called before a script command is ran.

Returns
false to disallow the script run
virtual void OnConsoleSink_AfterRunScript ( iScriptingHost apHost,
const achar aaszCmd 
)
pure virtual

Called after a script command is ran.