What are Operations?
(Tutorial Page 16)
An operation that is part of a transition is thought to be instantaneous and is called an action.
Generate event for another object
Create audit
Set swith value to on
An operation that is part of a state is thought to be non-instantaneous, possibly continuous and is called an activity.
Ring bell
Play message
The notation for an action as part of a transition, is shown as:
event(attribs)[condition]/action
Example: button press(button #)[if power is on]/create audit
Example: right mouse button down/display pop-up menu
Example: right mouse button up/remove pop-up menu
The notation for an activity as part of a state, is shown inside the state bubble as:
State Name (Bold)
do:activity
do: Ring Bell
do: Play Message
do: Screen Blink
|-Previous Slide-|
-Next Slide-|
-Table of Contents-|
-List of Tutorials-|
-Home Page-|
-Disclaimer-|
If desired, insert comments for ooanly16
Your Email Address(Optional)
Action
Copyright © 1997 Object Ideas Corporation --- Last Updated January 15, 1997