Software Code Generator Overview
Rational Statemate enables you to extend a Rational Statemate model by adding handwritten code to the generated code. You may want to use this feature to:
This manual documents the pre-Rational Statemate 1.2 method for supplementing user code to the generated code. This method adds code to the generated C or Ada code by modifying the
user_activities
files. This manual also explains how to use the callback mechanism to communicate with external code.Although Rational Statemate continues to support this method, you should use the new methods for supplementing code. For information on these methods, refer to “Adding User Written Code” in the Code Generator Reference Manual.