simulink

edu.tum.cs.simulink.model.stateflow
Class StateflowBlock

java.lang.Object
  extended by edu.tum.cs.simulink.model.ParameterizedElement
      extended by edu.tum.cs.simulink.model.SimulinkElementBase
          extended by edu.tum.cs.simulink.model.SimulinkBlock
              extended by edu.tum.cs.simulink.model.stateflow.StateflowBlock

public class StateflowBlock
extends SimulinkBlock

A special Simulink block that stores state charts. There is a one-to-one association between StateflowBlocks and StateflowCharts. The sub blocks of this block are automatically generated by Simulink.

Version:
$Rev: 26285 $
Author:
deissenb, $Author: juergens $
Rating:
GREEN Hash: 7599AD3B1F4D90C2C8538BFEE18AEECC

Constructor Summary
StateflowBlock(StateflowChart chart)
          Create Stateflow block.
 
Method Summary
 StateflowBlock deepClone()
          Deep clone this block.
 StateflowChart getChart()
          Get the Stateflow chart that belongs to this block.
 void remove()
          Unlinks this object from the simulink tree.
 
Methods inherited from class edu.tum.cs.simulink.model.SimulinkBlock
addAnnotation, addSubBlock, getAnnotations, getInLines, getInPort, getInPorts, getOutLines, getOutPort, getOutPorts, getResolvedType, getSubBlock, getSubBlocks, getType, hasSubBlocks, toString
 
Methods inherited from class edu.tum.cs.simulink.model.SimulinkElementBase
getId, getModel, getName, getParent, setParent
 
Methods inherited from class edu.tum.cs.simulink.model.ParameterizedElement
getDeclaredParameter, getDeclaredParameterNames, getParameter, getParameterNames, setParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateflowBlock

public StateflowBlock(StateflowChart chart)
Create Stateflow block.

Parameters:
chart - The chart that belongs to this block.
Method Detail

getChart

public StateflowChart getChart()
Get the Stateflow chart that belongs to this block.


remove

public void remove()
Unlinks this object from the simulink tree.

Overrides:
remove in class SimulinkBlock

deepClone

public StateflowBlock deepClone()
                         throws DeepCloneException
Deep clone this block.

Overrides:
deepClone in class SimulinkBlock
Throws:
DeepCloneException

simulink

simulink - 2.7