Case
ptolemy.domains.fsm.modal.Case

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.

Author(s): Edward A. Lee
Version:$Id: Case.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (reviewmoderator)




control
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.