An actor that executes one of several refinements depending on the
value provided by the <i>control</i> port-parameter. To use this,
look inside, add refinement cases, and populate them with computations.
Each refinement is a composite that is required to have its own director.
The name of the refinement is value that the control must have to
execute this refinement.
This actor always provides one case called "default". This is
the refinement that is executed if no other refinement matches
the control input. All refinements have the same ports,
and adding ports to any one refinement or to the case actor
itself results in identical ports being added to all refinements.
Edward A. Lee
$Id: Case.java 70402 2014-10-23 00:52:20Z cxh $
Ptolemy II 8.0
Yellow (eal)
Red (reviewmoderator)
The input port-parameter on which the control token is provided.
This can have any type, and is initialized with a default value
of true.