Architecture of Generated C Code : Structure Of The Generated Code : User Supplemented Files (User_activities Stubs File)

User Supplemented Files (User_activities Stubs File)

The stub method adds code to the generated C or Ada code by modifying the user_activities files. For more information on this method, refer to the Software Code Generator Interface Manual.

The Code Generator automatically creates the following two files:

user_activities.c (user_activities.c_temp)
user_activities.h (user_activities.h_temp)

These files include all the stubs generated for the basic activities according to the compilation profile. Once the user-activities stubs file exists in the output directory, it is not overwritten, and a file user_activities.c_temp is generated. The stub file includes a corresponding header file, which is also not overwritten.