RecordDisassembler
ptolemy.actor.lib.RecordDisassembler

On each firing, read one RecordToken from the input port and send out the fields of the RecordToken to multiple output ports. The labels for the RecordToken must match the names of the output ports. If the received token contains more fields than the output ports, the extra fields are ignored. To use this class, instantiate it, and then add output ports (instances of TypedIOPort). This actor is polymorphic. The type constraint is that the type of each output port is no less than the type of the corresponding record field.

Author(s): Yuhong Xiong, Steve Neuendorffer
Version:$Id: RecordDisassembler.java,v 1.41 2005/10/28 19:20:13 cxh Exp $
Pt.Proposed Rating:Yellow (yuhong)
Pt.Accepted Rating:Yellow (cxh)


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