Specifying Components in C Code
For each C code module or class, one process (named process) or one method (named calc) is created automatically. Creating methods and processes, as well as specifying their interfaces, is the same as in the block diagram editor and is described in Defining a Component Interface. Creating basic elements (see Creating a Basic Element) and enumerations (see Inserting an Enumeration), including components as complex elements (see Including a Component as a Complex Element) and editing notes (see Editing the Notes for a Component) also works the same way as in block diagrams.
See also
Specifying a Method or Process
Copying C code for Single Classes or Modules
Editing the Code for a Method or Process
Searching and Replacing C Code
Defining a Component Signature
Including a Component as a Complex Element