SetProperties
ptolemy.domains.wireless.lib.SetProperties

On each firing, this actor reads at most one token from the <i>payload</i> and <i>properties</i> input ports, outputs the payload on the <i>output</i> port, and set the <i>outsideTransmitProperties</i> of the wireless output port connected to the <i>output</i> port with the specified transmit properties received from the <i>properties</i> input port. If there is no token received on the <i>properties</i> input port, this actor will not modify the <i>outsideTransmitProperties</i> of the connected wirelessIOPort, i.e. the payload will be transmitted with the previous transmit properties.

Author(s): Yang Zhao, Edward A. Lee
Version:$Id: SetProperties.doc.html,v 1.1 2006/02/22 18:41:22 mangal Exp $
Pt.Proposed Rating:Yellow (cxh)
Pt.Accepted Rating:Yellow (cxh)


payload
Input port that receives the payload to be transmitted.
output
Output port that output the received payload. This has the same type as the <i>payload</i> port.
properties
Input port that receives the properties to be used for transmission on the connected wireless output port. The type of this port is a record type.