motris
Class ScriptInterpreter

java.lang.Object
  extended bymotris.data.Description
      extended byparameter.ParameterizedObjectAdaptor
          extended bymotris.ScriptInterpreter
All Implemented Interfaces:
ParameterizedObject

public class ScriptInterpreter
extends ParameterizedObjectAdaptor

Execute Motris Scripts specifying experiment runs. Motris Scripts are stored in XML files

Author:
Hendrik Dahlkamp

Nested Class Summary
 class ScriptInterpreter.ActorScriptAction
           
 class ScriptInterpreter.ExportImageScriptAction
           
 class ScriptInterpreter.LoadActorScriptAction
           
 class ScriptInterpreter.LoadActorStateScriptAction
           
 class ScriptInterpreter.LoadDisplaySettingsScriptAction
           
 class ScriptInterpreter.LoadImageSequenceDataScriptAction
           
 class ScriptInterpreter.LoadTrackingSettingsScriptAction
           
 class ScriptInterpreter.ParameterSetScriptAction
           
 class ScriptInterpreter.PredictActorScriptAction
           
 class ScriptInterpreter.QuitProgramScriptAction
           
 class ScriptInterpreter.RemoveActorScriptAction
           
 class ScriptInterpreter.SaveActorScriptAction
           
 class ScriptInterpreter.SaveXTrackActorScriptAction
           
 class ScriptInterpreter.ScriptAction
           
 class ScriptInterpreter.SetInputDirectoryScriptAction
           
 class ScriptInterpreter.SetLogFileScriptAction
           
 class ScriptInterpreter.SetOutputDirectoryScriptAction
           
 class ScriptInterpreter.SetRefreshImportanceThresholdScriptAction
           
 class ScriptInterpreter.TrackActorScriptAction
           
 class ScriptInterpreter.XTrackExportActorScriptAction
           
 
Nested classes inherited from class parameter.ParameterizedObject
ParameterizedObject.ParameterChangedListener, ParameterizedObject.ParameterizedObjectManager
 
Field Summary
private  ExperimentViewController evc
           
private  Experiment ex
           
private  ParameterSet script
           
 
Fields inherited from class parameter.ParameterizedObjectAdaptor
parameterChangedNotifyList
 
Fields inherited from class motris.data.Description
 
Constructor Summary
ScriptInterpreter(Experiment _ex, ExperimentViewController _evc)
           
 
Method Summary
 ParameterSet getParameters()
          Get a Vector of Strings with a description of each Parameter
 int runActionScript()
           
 int runFinishScript()
           
 int runInitScript()
           
private  int runScript(ParameterSet toRunScript)
           
 boolean setParameters(ParameterSet _params)
          Set Parameters of this class
 
Methods inherited from class parameter.ParameterizedObjectAdaptor
addParameterChangedListener, finalize, fireParameterChanged, parameterEdited, removeParameterChangedListener
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ex

private Experiment ex

evc

private ExperimentViewController evc

script

private ParameterSet script
Constructor Detail

ScriptInterpreter

public ScriptInterpreter(Experiment _ex,
                         ExperimentViewController _evc)
Method Detail

getParameters

public ParameterSet getParameters()
Description copied from interface: ParameterizedObject
Get a Vector of Strings with a description of each Parameter

Specified by:
getParameters in interface ParameterizedObject
Overrides:
getParameters in class ParameterizedObjectAdaptor

setParameters

public boolean setParameters(ParameterSet _params)
Description copied from interface: ParameterizedObject
Set Parameters of this class

Specified by:
setParameters in interface ParameterizedObject
Overrides:
setParameters in class ParameterizedObjectAdaptor

runScript

private int runScript(ParameterSet toRunScript)

runInitScript

public int runInitScript()

runFinishScript

public int runFinishScript()

runActionScript

public int runActionScript()