Blame | Last modification | View Log | RSS feed
-------------------------------------------------------------------------------DojoX Timing-------------------------------------------------------------------------------Version 0.1.0Release date: 08/08/2007-------------------------------------------------------------------------------Project state:expermental-------------------------------------------------------------------------------CreditsTom Trenka (ttrenka AT gmail.com): original Timer, Streamer, Thread and ThreadPoolWolfram Kriesing (http://wolfram.kriesing.de/blog/): SequenceJonathan Bond-Caron (jbondc AT gmail.com): port of Timer and StreamerPete Higgins (phiggins AT gmail.com): port of Sequence-------------------------------------------------------------------------------Project descriptionDojoX Timing is a project that deals with any kind of advanced use of timingconstructs. The central object, dojox.timing.Timer (included by default), isa simple object that fires a callback on each tick of the timer, as well aswhen starting or stopping it. The interval of each tick is settable, but thedefault is 1 second--useful for driving something such as a clock.dojox.timing.Streamer is an object designed to facilitate streaming/buffer-typescenarios; it takes an input and an output function, will execute the outputfunction onTick, and run the input function when the internal buffer getsbeneath a certain threshold of items. This can be useful for something timed--such as updating a data plot at every N interval, and getting new data froma source when there's less than X data points in the internal buffer (thinkreal-time data updating).dojox.timing.Sequencer is an object, similar to Streamer, that will allow youto set up a set of functions to be executed in a specific order, at specificintervals.The DojoX Timing ThreadPool is a port from the original implementation in thef(m) library. It allows a user to feed a set of callback functions (wrappedin a Thread constructor) to a pool for background processing.-------------------------------------------------------------------------------Dependencies:DojoX Timing only relies on the Dojo Base.-------------------------------------------------------------------------------DocumentationTBD.-------------------------------------------------------------------------------Installation instructionsGrab the following from the Dojo SVN Repository:http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/timing.jshttp://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/timing/*Install into the following directory structure:/dojox/timing.js/dojox/timing/...which should be at the same level as your Dojo checkout.