| Author |
Diagram for Poll Timer?
|
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
What sort of diagram should I use for a poll-timer? So far, I've made an activity diagram for my poll timer. Is this fine? Poll every 250 ms until a condition is met. Should I use a different type of diagram? The timing diagram doesn't seem right, or I can't conceive how. Please advise. Thanks, Garrett [ August 03, 2007: Message edited by: Garrett Smith ]
|
comp.lang.javascript FAQ: http://jibbering.com/faq/
|
 |
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
Please tell me if this makes sense. A poll-timer continually polls to see if a condition exists, then fires a signal when it the condition is found.  Resize kicks off the first timer and sets hasResize = true continually. [ August 03, 2007: Message edited by: Garrett Smith ]
|
 |
Gabriel Claramunt
Ranch Hand
Joined: May 26, 2007
Posts: 375
|
|
I think a State diagram will make more sense (basically will be the same drawing, just a different name )
|
Gabriel
Software Surgeon
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
|
Well, who is the audience of the diagram, and why will they look at it?
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
Originally posted by Ilja Preuss: Well, who is the audience of the diagram, and why will they look at it?
It is for web developers / javascript hackers. I put it on my site. I want to get better at explaining these things. Sometimes people don't understand me. Do people use activity diagram for threads?
|
 |
 |
|
|
subject: Diagram for Poll Timer?
|
|
|