public abstract class ModelAnimation extends Model
Constructor and Description |
---|
ModelAnimation(ModelAnimation owner,
java.lang.String name,
CmdGeneration cmdGen,
boolean showInReport,
boolean showInTrace,
boolean showInAnimation)
ModelAnimation extends Model about a CmdGeneration
instance and a showInAnimation switch.
|
Modifier and Type | Method and Description |
---|---|
boolean |
animationIsOn()
gives showInAnimation switch
|
CmdGeneration |
getCmdGen()
gives CmdGeneration Object
|
void |
init()
overwrites init from Model with:
initCmds(), initEntityTypes(), and initAnimation()
|
abstract void |
initAnimation()
place to init black-box components and there
createAnimation Statements
|
TimeInstant |
presentTime()
overwrite presentTime from Model.
|
connectToExperiment, createDefaultReporter, description, doInitialSchedules, getEntities, getEntity, getExperiment, getParameterManager, getReportables, hasSubModels, init, isConnected, isMainModel, isSubModel, register, reset
getCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReporter
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public ModelAnimation(ModelAnimation owner, java.lang.String name, CmdGeneration cmdGen, boolean showInReport, boolean showInTrace, boolean showInAnimation)
owner
- supermodel, may be nullname
- name of modelcmdGen
- CmdGeneration objectshowInReport
- switch for report generationshowInTrace
- switch for trace generationshowInAnimation
- switch for cmds-file generationpublic abstract void initAnimation()
public TimeInstant presentTime()
presentTime
in class ModelComponent
public void init()
public CmdGeneration getCmdGen()
public boolean animationIsOn()