라운드트립을 위한 코드 세그먼트 수정

상태 차트에서 오퍼레이션이나 조치로 입력된 절차적 동작인 코드 세그먼트를 라운드트립을 위해 수정할 수 있습니다.

이 태스크 정보

구현 코드의 모든 세그먼트에 대한 형식은 다음과 같습니다.

... 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();
    //#]
    //#[ entryAction ROOT.idle.(Entry)
    someEntryAction();
    //#]
    //#[ transition transition-id    someTransitionCode();
    //#]  
    //#[ operation doit()
    someOperationCode();
    someMoreOperationCode();
    //#]   

피드백