UnionDisassembler
ptolemy.actor.lib.UnionDisassembler

On each firing, read one UnionToken from the input port and send out the value to the output port that matches the label name of the input token. This actor is polymorphic. The type constraint is that the type of each output port is no less than the type of the corresponding union field.

Author(s): Yang Zhao
Version:$Id: UnionDisassembler.java,v 1.5 2006/03/30 16:33:59 cxh Exp $
Pt.Proposed Rating:Red (ellen_zh)
Pt.Accepted Rating:Red (cxh)


input
The input port. Its type is constrained to be a UnionType.