[kepler-dev] MonitorQueueContents

Edward A. Lee eal at eecs.berkeley.edu
Mon Dec 29 14:23:50 PST 2008


Inspired by Carlos Rueda's MonitorManager class in Kepler, which
displays the sizes of queues as a model executes, I've added to
Ptolemy II an attribute MonitorQueueContents.  Drag this into
any model that has a director that uses QueueReceiver or a subclass
(like DE, SDF, PN, etc.), and it displays the contents of the
queue(s) associated with each input port.

You have to also use Bert's RepaintController if you want these to
be animated (i.e., updated during execution).

Edward

-------------- next part --------------
A non-text attachment was scrubbed...
Name: eal.vcf
Type: text/x-vcard
Size: 351 bytes
Desc: not available
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20081229/cc847d07/attachment.vcf>


More information about the Kepler-dev mailing list