lecture16 - StateandStateDiagrams UMLBook Chapters5,6

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 1 State and State Diagrams UML Book  Chapters 5, 6 Telephone application available on class website.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 2 What is important here Events An occurrence in time State Abstraction of values in a system Effects Behavior in response to an event Also called  Activities .
Background image of page 2
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 3 Event-Driven Programming Event-driven programming Flow of control is  determined by events or  messages Contrast with batch  programming Flow is explicit in the code
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 4 Do you need this? Event-driven programming is a special type of programming and you  are only likely to need this material should you end up working in…
Background image of page 4
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 5 Do you need this? Graphical User Interfaces And GUI-based applications Event-driven programming is a special type of programming and you  are only likely to need this material should you end up working in…
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 6 Do you need this? Graphical User Interfaces And GUI-based applications Web-based Development Event-driven programming is a special type of programming and you  are only likely to need this material should you end up working in…
Background image of page 6
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 7 Do you need this? Embedded Systems Factory/Process Controls Event-driven programming is a special type of programming and you  are only likely to need this material should you end up working in…
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 8 Anything Else Game development Telecommunication applications Operating systems Business Enterprise Applications Anything that interacts with people Most everything else as well If you intend only to write  batch data processing loops  and command-line  applications, I’m likely wasting  your time this week… You’ve already been doing this.  It’s the way GUI applications are  written.
Background image of page 8
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 9 Events An event is an  occurrence in time . It is  considered atomic and instantaneous.   It may have associated data. Left mouse button  pressed Key pressed Elvis has left the building Flight 529 has landed Power turned on Paper is jammed Message has timed  out 10 seconds has  elapsed Battery is below limit Project 2 is due Past tense verbs Onset of condition
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 335 Dr. Charles B. Owen Object-Oriented Programming 10 Signal  Event A one-way transmission  of information from one  object to another.
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/12/2010 for the course CSE CSE 335 taught by Professor Owen during the Fall '10 term at Michigan State University.

Page1 / 52

lecture16 - StateandStateDiagrams UMLBook Chapters5,6

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online