Flynet Studio Code Generation Properties

GenerateAsBaseClass - boolean

GenerateAsBaseClass - boolean

Previous topic Next topic  

GenerateAsBaseClass - boolean

Previous topic Next topic  

When set TRUE, a separate CGTask (Code Generation Task) module will act as a base class, enabling more extensive user modifications.

 

If you anticipate modifying or adding to a Task module extensively, setting this property true provides a layer of insulation from future code generations triggering the need for a code merge.

 

With this property false, your Task's class will have the following position in the task class hierarchy, assuming a name of "MyProject" for the project and "MyTask" for this task:

 

MyProjectBaseTaskCG (contains all navigation, extensive worker methods)

MyProjectBaseTask (generated empty, but never touched after initial generation)

MyTask (generated with all Task logic)

 

With this property true, your Task's class will have the following position in the task class hierarchy, assuming a name of "MyProject" for the project and "MyTask" for this task:

 

MyProjectBaseTaskCG (contains all navigation, extensive worker methods)

MyProjectBaseTask (generated empty, but never touched after initial generation)

MyTaskCG (generated with all Task logic)

MyTask (generated empty, but never touched after initial generation)