Combining animation settings in the same model

It is possible to build libraries with animation on for part of an application, with animation off for another part, and then link both parts (the different libraries) into a single executable file.

About this task

In IBM® Rational® Rhapsody® Developer for C, the architecture was changed from a user object being an animation object to a user object being associated with an animation object. As a result, the memory layout of animated and nonanimated objects is the same so, in principle, they can mix. Each class or object type is either completely instrumented or completely noninstrumented.

To create a combined application, you can link:

When some user object calls a user-defined method, the animation recognizes this, as the framework and the call stack are animated. The animation looks in a table for the animation associate of the user object (the me parameter in the method call). If it finds one, an animation message is sent to Rational Rhapsody with respect to this action. Otherwise, it ignores this action (the action is taken, but not animated).


Feedback