AtomicWirelessChannel
ptolemy.domains.wireless.kernel.AtomicWirelessChannel

The base class for communication channels in the wireless domain. <p>To use this class, place it in a wireless model that contains a wireless director and wireless actors (actors whose ports are instances of WirelessIOPort). Then set the <i>outsideChannel</i> parameter of those ports to match the name of this channel. The model can also itself contain ports that are instances of WirelessIOPort, in which case their <i>insideChannel</i> parameter should contain the name of this channel if they should use this channel. <p> In this base class, transmission on a channel reaches all ports at the same level of the hierarchy that are instances of WirelessIOPort and that specify that they use this channel. These ports include those contained by entities that have the container as this channel and that have their <i>outsideChannel</i> parameter set to the name of this channel. They also include those ports whose containers are the same as the container of this channel and whose <i>insideChannel</i> parameter matches this channel name. <p> Derived classes will typically limit the range of the transmission, using for example location information from the ports. They may also introduce random losses or corruption of data. To do this, derived classes can override the _isInRange() protected method, or the transmit() public method.

Author(s): Xiaojun Liu, Edward A. Lee and Yang Zhao
Version:$Id: AtomicWirelessChannel.doc.html,v 1.1 2006/02/22 18:40:26 mangal Exp $
Pt.Proposed Rating:Green (cxh)
Pt.Accepted Rating:Yellow (cxh)




defaultProperties
The default properties for transmission. In this base class, the type and contents are left undefined. Derived classes will define this to be a record. The fields of the record determine what properties are seen by the receiver. Any fields that are not in this parameter value will be discarded before properties are delivered to the receiver. FIXME: need a mechanism to deal with empty record tokens.