From MC perspective, is it safe and legitimate to add members to the generated structures of Classes?
In this example I add att3 to the generated struct:
struct some_type* att3; /* - can this be added to the gen? */
There is documentation in the MC-3020 User Guide for doing this. But the summary is:
1. Copy generated code from the /src folder to the /gen folder.
2. Edit the code in the /gen folder.
3. Now, each time you generate code, the edited file will get copied _over_ the generated file in the src folder.
If you modify the model behind the generated code, you may want to re-generate and re-edit.