- Change the statechart implementation strategy from
reusable to flat.
- Disable code generation for statecharts.
For example:
//// Framework entries ////
public :
State* state1; // State variables
State* state2;
void rootStateEntDef(); // The initial transition
// method
int state1Takeevent1(); // event takers
int state2Takeevent2();
private :
void initRelations(); //InitRelations or
//InitStatechart is
//generated to initialize
//framework members
void cleanUpRelations();//CleanupRelations or
//CleanupStatechart is
//generated to clean up
//framework members in
//destruction.
Note: The
initRelations() and
cleanUpRelations() operations
are generated only if the
CG::Class::InitCleanUpRelations property
is set to
Checked. See the definition provided for
the property on the applicable
Properties tab
of the Features window.