History for queue
changed: - description This part is implements a queue. The part has PUSH and POP pins for storing and getting Objects in the queue. As a new element is pushed into the queue an event NEWEVENT is fired. The RESET pin empties the contents of the queue. ISEMPTY let's know whether the queue is empty (returns true if the queue is empty). clears the array. Figure <img src="queue.GIF" /> inpins 1 PUSH - ID = 1 - Object o Any input object adds to the object array which will automatically resize 2 POP - ID=2 - boolean o Get an event and automatically the "OUT" outpin firs the created array 3 ISEMPTY - ID=3 -no param o Creates 0 sized array in the place of old one 3 RESET - ID=4 -no param o Creates 0 sized array in the place of old one outpins 1 OUTELEMENT - ID=51 - Object o Fires the fisrt object in the queue 2 OUTELEMENT - ID=52 - boolean o Fires true if the queue is empty and false otherwise 2 NEWEVENT - ID=53 - no param o Pin is fired when a new alement is POPed into the queue links to cvs source - revision 1.0 "org.vcb.parts.util.Queue.java":http://cvs.sourceforge.net/viewcvs.py/vcb/VCB/libraries/src/org/vcb/parts/util/Queue.java at sourceforge.net configuration file revision 1.0 "Queue.vcb":http://cvs.sourceforge.net/viewcvs.py/vcb/VCB/libraries/configs/util/Queue.vcb at sourceforge.net status alpha release