关于此任务
实施代码中的每个段均具有以下格式:
... generated code
//#[ segment-type segment-identifierC++ code you entered
//#]
... generated code continues
所有这些代码段都在实施文件中。
唯一可以修改而不会导致失去双向传递能力的段如下所示:
//#[ reaction reaction-id
// you can modify this code
someReactionCode();
// do not modify beyond the //#] sign
//#]
//#[ exitAction ROOT.idle.(Entry)
someExitAction();
//#]
- 进入操作roundtripEntry action
//#[ entryAction ROOT.idle.(Entry)
someEntryAction();
//#]
//#[ transition transition-id someTransitionCode();
//#]
//#[ operation doit()
someOperationCode();
someMoreOperationCode();
//#]