AM2 Documentation
Activities in AM2 provide the basic mechanism by which objects handle events generated by user actions in applications. Activities also handle events that occur in AM2 applications due to a timer or arriving network messages. For example, a standard AM2 button object provides a way to notify other objects when the application user presses it. In the terminology of activity management, the button manages the pressed activity. Similarly, events corresponding to an activity trigger that activity.
All objects that manage activities maintain a list of things to do when events trigger those activities. This is, in essence, a list of messages that AM2 sends to objects when the triggering occurs. The ADL programmer can add and delete things from this list.
We discuss the use of activity management in five stages, each described in a separate subsection:
Generated with Harlequin WebMaker