Thanks for the clear and accurate description. It is much appreciated :D
.xX

On Dec 2, 2007, at 12:39 AM, [EMAIL PROTECTED] wrote:

Ahhhh - it's all becoming clear now ...
Now I understand why it has been referred to as a LIFO type of queue - because element 0 in the output structure is the oldest member of the queue.

However - as Adrian points out - this is not a LIFO - which would be akin to a stack. In a LIFO arrangement, the contents of the queue is left intact after adding one element and removing one. (i.e. a push and a pop)

So - here is how I would describe this patch.
"This patch implements a FIFO of arbitrary size n, where the output is a structure containing n elements. Element 0 is the oldest, and element n-1 is the element that was most recently added.
Perhaps you can put that one on your WIKI page, Sam.

Here's a modified version of shadebobs using an iterator to display all elements of the queue. The length of the tail is dependent on frame rate - looks better at 20 fps than 60, imo.

Maybe we can figure out a way to make this independent of frame rate(?)

Thanks all
Jack




-------------- Original message ----------------------
From: Adrian Ward <[EMAIL PROTECTED]>

On 1 Dec 2007, at 23:57, Jack Hayward wrote:

Could you post your version with the queue? I've been wondering how
that patch would be used.
I haven't even tried using the queue patch because the description
made it sound useless. It's nice to know that it's a FIFO after all.

Sure, no problem. Just use the structure index member the take the
first entry in the structure output from the queue.




From: Adrian Ward <[EMAIL PROTECTED]>
Date: December 1, 2007 5:15:07 PM PST
To: quartzcomposer-dev list list <[email protected]>
Subject: Re: Trails ...






_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/jack.hayward%40comcast.net

This email sent to [EMAIL PROTECTED]

<Shadebobs with Queue Iterated.qtz> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/asabatelli%40apple.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to