From the course: Software Design: Modeling with UML

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Timing diagrams

Timing diagrams - Unified Modeling Language (UML) Tutorial

From the course: Software Design: Modeling with UML

Start my 1-month free trial

Timing diagrams

- [Instructor] Timing diagrams have their origin in Electronic Engineering where the states of various components in a circuit are mapped. So, if you come from that background, you will find this to be very intuitive. Timing diagrams are a type of interaction diagrams that model how the states of different objects change over a period of time. These changes may be triggered by the clock time, or by a message sent by another object. In the diagram shown here, I have taken two abstract objects in my laptop's operating system. One is screen saver, and the other is input sensor. The input sensor senses any input coming from the mouse or the keyboard. If it does not sense anything for two minutes, then the screen saver automatically gets activated. Later, when I press a key on my keyboard, a message goes from input sensor to screen saver and then the screen saver switches off. There are several elements and notations here that…

Contents