5c6a76323636e65f182576ccb6fc62f196bbd9c9.svn-base 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. -------------------------------------------------------------------------------
  2. DojoX Timing
  3. -------------------------------------------------------------------------------
  4. Version 0.1.0
  5. Release date: 08/08/2007
  6. -------------------------------------------------------------------------------
  7. Project state:
  8. expermental
  9. -------------------------------------------------------------------------------
  10. Credits
  11. Tom Trenka (ttrenka AT gmail.com): original Timer, Streamer, Thread and ThreadPool
  12. Wolfram Kriesing (http://wolfram.kriesing.de/blog/): Sequence
  13. Jonathan Bond-Caron (jbondc AT gmail.com): port of Timer and Streamer
  14. Pete Higgins (phiggins AT gmail.com): port of Sequence
  15. -------------------------------------------------------------------------------
  16. Project description
  17. DojoX Timing is a project that deals with any kind of advanced use of timing
  18. constructs. The central object, dojox.timing.Timer (included by default), is
  19. a simple object that fires a callback on each tick of the timer, as well as
  20. when starting or stopping it. The interval of each tick is settable, but the
  21. default is 1 second--useful for driving something such as a clock.
  22. dojox.timing.Streamer is an object designed to facilitate streaming/buffer-type
  23. scenarios; it takes an input and an output function, will execute the output
  24. function onTick, and run the input function when the internal buffer gets
  25. beneath a certain threshold of items. This can be useful for something timed--
  26. such as updating a data plot at every N interval, and getting new data from
  27. a source when there's less than X data points in the internal buffer (think
  28. real-time data updating).
  29. dojox.timing.Sequencer is an object, similar to Streamer, that will allow you
  30. to set up a set of functions to be executed in a specific order, at specific
  31. intervals.
  32. The DojoX Timing ThreadPool is a port from the original implementation in the
  33. f(m) library. It allows a user to feed a set of callback functions (wrapped
  34. in a Thread constructor) to a pool for background processing.
  35. -------------------------------------------------------------------------------
  36. Dependencies:
  37. DojoX Timing only relies on the Dojo Base.
  38. -------------------------------------------------------------------------------
  39. Documentation
  40. TBD.
  41. -------------------------------------------------------------------------------
  42. Installation instructions
  43. Grab the following from the Dojo SVN Repository:
  44. http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/timing.js
  45. http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/timing/*
  46. Install into the following directory structure:
  47. /dojox/timing.js
  48. /dojox/timing/
  49. ...which should be at the same level as your Dojo checkout.