> We have now several mails from people who would like to use Root > in online systems and would like to discuss or see examples > of similar implementations (use of shared memory, client > server,etc). We have seen in the past few months several people > registering as Root users to work with online applications. It would > be nice if these users could contact us directly or provide a short > summary of their work to the roottalk list. I would like to call an attention of all "on-line" ROOT users to the class TTimer (see:http://root.cern.ch/root/html/TTimer.html). It seems me to this class can help solve roughly say 80 % of the "on-line" problem / task and avoid the troubles coming with "share memory", "client server", "multi thread / multi-processing" etc. I believe this approach is quite robust and safe, another advantage it will work any platform. (Just compare: Netscape is done this way but Microsoft Internet Explorer is a mutlithread application) Valery http://root.cern.ch/root/html/TTimer.html Class Description TTimer Handles synchronous and a-synchronous timer events. To make use of this class one has to sub-class TTimer and implement Notify() and Remove() (if timer has not been added to the gSystem timer list). Without sub-classing one can use the HasTimedOut() method. Use Reset() to reset the timer after expiration. To disable a timer remove it using Remove() or destroy it. ================================================================= Dr. Valeri Faine (Fine) ------------------- Phone: +1 516 344 7806 Brookhaven National Laboratory FAX : +1 516 344 4206 Bldg. 510A /STAR mailto:fine@rsgi01.rhic.bnl.gov Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine USA Dr. Valery Fine Telex : 911621 dubna su ----------- LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80 141980 Dubna, Moscow region Fax : +7 09621 6 51 45 Russia mailto:fine@main1.jinr.dubna.su
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:30 MET