edu.stanford.hci.dtools.statechart.model
Class OutputModel

java.lang.Object
  extended by edu.stanford.hci.dtools.statechart.model.ModelElement
      extended by edu.stanford.hci.dtools.statechart.model.ShapeModel
          extended by edu.stanford.hci.dtools.statechart.model.IOModel
              extended by edu.stanford.hci.dtools.statechart.model.OutputModel
All Implemented Interfaces:
java.io.Serializable, org.eclipse.ui.views.properties.IPropertySource
Direct Known Subclasses:
DisplayModel, LEDModel, SpeakerModel

public abstract class OutputModel
extends IOModel

Abstract parent of all outputs.

This software is distributed under the BSD License.

Author:
Michael Bernstein ( mbernst(AT)stanford.edu ), Bjoern Hartmann ( bjoern(AT)stanford.edu )
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.stanford.hci.dtools.statechart.model.ShapeModel
DIAGRAM_PROP, LOCATION_PROP, SIZE_PROP, SOURCE_CONNECTIONS_PROP, TARGET_CONNECTIONS_PROP
 
Constructor Summary
OutputModel()
           
OutputModel(IOComponent model)
           
OutputModel(OutputModel copy)
           
 
Method Summary
 OutputComponent getGlobalComponent()
           
abstract  void realizeStateEntryInHardware(HardwareOutputDispatcher hwOutput)
          Called upon entrance to a state
abstract  void realizeStateUpdateInHardware(HardwareOutputDispatcher hwOutput)
          Called when a state is updated
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.IOModel
copy, getDimensions, getDimensions, getIcon, getLocation, getLocation, getName, getPropertyDescriptors, getPropertyValue, setPropertyValue
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.ShapeModel
createImage, getDiagramModel, getSize, getSourceConnections, getTargetConnections, setDiagramModel, setLocation, setSize
 
Methods inherited from class edu.stanford.hci.dtools.statechart.model.ModelElement
addPropertyChangeListener, getEditableValue, isPropertySet, removePropertyChangeListener, resetPropertyValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputModel

public OutputModel()

OutputModel

public OutputModel(IOComponent model)

OutputModel

public OutputModel(OutputModel copy)
Method Detail

getGlobalComponent

public OutputComponent getGlobalComponent()
Overrides:
getGlobalComponent in class IOModel

realizeStateEntryInHardware

public abstract void realizeStateEntryInHardware(HardwareOutputDispatcher hwOutput)
Called upon entrance to a state

Parameters:
hwOutput -

realizeStateUpdateInHardware

public abstract void realizeStateUpdateInHardware(HardwareOutputDispatcher hwOutput)
Called when a state is updated

Parameters:
hwOutput -