| Trees | Index | Help |
|
|---|
| Package svs_demogame :: Module scripts :: Class ScriptHandler |
|
| Method Summary | |
|---|---|
__init__(self,
hostObject)
| |
Appends script to end of script history, making it the current script for execution. | |
Clears scripts. | |
Copies script. | |
Executes update method of script. | |
Executes specified method from current script. | |
` Returns most recent version of script. | |
Returns name for script, this is the automatically generated ScriptHandler.self.scriptModuleName property. | |
Returns log of script revisions, without code. | |
Returns specified version of script. | |
Checks that script method has not been performed more times than execution limit allows. | |
Loads current script and sets up necessary environment variables. | |
__updateExecutionLog(self,
script,
method)
| |
| Method Details |
|---|
appendScript(self, newScript)Appends script to end of script history, making it the current script for execution. NOTE: should perform some kind of verification ofnewScript object.
|
clearScripts(self)Clears scripts. |
copyScript(self, newScript)Copies script. NOTE: should perform some kind of verification ofnewScript object.
|
executeCurrentScript(self)Executesupdate method of script.
|
executeCurrentScriptMethod(self, methodName, methodArgs=None)Executes specified method from current script. If the script does not contain this method it is ignored. |
getCurrentScript(self)` Returns most recent version of script. |
getName(self)Returns name for script, this is the automatically generatedScriptHandler.self.scriptModuleName property.
|
getRevisionLog(self)Returns log of script revisions, without code. |
getScriptRevision(self, revNum=-1)Returns specified version of script. |
isWithinExecutionLimit(self, script, method, limitValue)Checks that script method has not been performed more times than execution limit allows. ReturnTrue if ok to execute,
False otherwise.
|
loadCurrentScript(self)Loads current script and sets up necessary environment variables. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Thu Oct 20 15:30:26 2005 | http://epydoc.sf.net |