Generated Data Types, Data Usage, and Functions : Functions Supporting Statechart Generation

Functions Supporting Statechart Generation

custom: cgEnterActions_<NAME>
 
custom: cgExitActions_<NAME>
 

Those void functions will be generated in case of a control activity, with statechart underneath, that has (in accordance) entering/exiting reactions.

Note that when the optimizer is enabled, some of the reactions might be placed directly on transitions code, thus avoiding the need of having those functions.

custom: cgDo_<NAME>
 

That void function will be generated for each control activity, and contains the code implementing the logic.