genDevs.devsBridge.adapter
Class ViewableAtomicDigraph
java.lang.Object
GenCol.entity
genDevs.modeling.devs
genDevs.modeling.atomic
simView.ViewableAtomic
genDevs.devsBridge.adapter.ViewableAtomicDigraph
- All Implemented Interfaces:
- GenCol.EntityInterface, DevsPortsI, genDevs.modeling.IOBasicDevs, genDevs.modeling.IODevs, simView.ViewableComponent
- Direct Known Subclasses:
- InitializableAtomicDigraph
public class ViewableAtomicDigraph
- extends simView.ViewableAtomic
- implements DevsPortsI
adapts a viewable Digraph to an viewable atomic model.
- Author:
- twutz
Field Summary |
protected genDevs.simulation.coordinator |
coord
|
protected simView.ViewableDigraph |
coupledMod
|
Fields inherited from class simView.ViewableAtomic |
backgroundColor, base, view |
Fields inherited from class genDevs.modeling.atomic |
a, INFINITY, mySim, phase, sigma |
Fields inherited from class genDevs.modeling.devs |
mh |
Fields inherited from class GenCol.entity |
name |
Methods inherited from class simView.ViewableAtomic |
addTestInput, addTestInput, createView, getAtomicView, getBackgroundColor, getFormattedPhase, getFormattedSigma, getFormattedTL, getFormattedTN, getLayoutName, getNumInports, getNumOutports, getPreferredLocation, getSimulator, getTestInputs, getTooltipText, getView, isHidden, setBackgroundColor, setHidden, setLayoutName, setPreferredLocation, setSigma |
Methods inherited from class genDevs.modeling.atomic |
Continue, deltcon, deltext, getActivity, getPhase, getSigma, getSim, holdIn, holdIn, out, passivate, passivateIn, phaseIs, setSimulator, showState, startActiviry, stringState, ta, toString |
Methods inherited from class genDevs.modeling.devs |
addInport, addOutport, makeContent, makeContent, messageOnPort, messageOnPort |
Methods inherited from class GenCol.entity |
addSelf, eq, equalName, equals, getExtRep, getName, print, removeSelf |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface genDevs.modeling.IOBasicDevs |
getActivity, setSimulator |
Methods inherited from interface genDevs.modeling.IODevs |
addInport, addOutport, makeContent, messageOnPort |
Methods inherited from interface GenCol.EntityInterface |
equalName, getExtRep, getName |
Methods inherited from interface simView.ViewableComponent |
getName |
coupledMod
protected simView.ViewableDigraph coupledMod
coord
protected genDevs.simulation.coordinator coord
ViewableAtomicDigraph
public ViewableAtomicDigraph(simView.ViewableDigraph coupledMod)
holdAsCoordinator
protected void holdAsCoordinator()
initialize
public void initialize()
- Overrides:
initialize
in class genDevs.modeling.atomic
deltint
public void deltint()
- Overrides:
deltint
in class genDevs.modeling.atomic
deltext
public void deltext(double e,
genDevs.modeling.MessageInterface x)
- Overrides:
deltext
in class genDevs.modeling.atomic
deltcon
public void deltcon(double e,
genDevs.modeling.MessageInterface x)
- Overrides:
deltcon
in class genDevs.modeling.atomic
Out
public genDevs.modeling.MessageInterface Out()
- Overrides:
Out
in class genDevs.modeling.atomic
viewCoupled
protected simView.ViewableDigraph viewCoupled()
getInportNames
public java.util.List getInportNames()
- Specified by:
getInportNames
in interface DevsPortsI
- Specified by:
getInportNames
in interface simView.ViewableComponent
- Overrides:
getInportNames
in class simView.ViewableAtomic
getOutportNames
public java.util.List getOutportNames()
- Specified by:
getOutportNames
in interface DevsPortsI
- Specified by:
getOutportNames
in interface simView.ViewableComponent
- Overrides:
getOutportNames
in class simView.ViewableAtomic
ta
public double ta()
showState
public void showState()