wiki:news:03jan2013
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:news:03jan2013 [2013/01/03 20:40] – created pmueller | wiki:news:03jan2013 [2013/01/03 20:48] (current) – pmueller | ||
---|---|---|---|
Line 16: | Line 16: | ||
int evConsumed = 0; | int evConsumed = 0; | ||
- | |||
- | |||
if(m_initialized==false) return 0; | if(m_initialized==false) return 0; | ||
Line 23: | Line 21: | ||
//Create copy of statevar | //Create copy of statevar | ||
stateVarsCopy = stateVars; | stateVarsCopy = stateVars; | ||
- | |||
- | /* action code */ | ||
- | printf(" | ||
- | |||
switch (stateVars.stateVar) { | switch (stateVars.stateVar) { | ||
Line 48: | Line 42: | ||
} // end processEvent | } // end processEvent | ||
+ | |||
+ | |||
+ | // Region handler code for state S1 Region1 | ||
+ | int testcase:: | ||
+ | ... | ||
} | } | ||
+ | |||
+ | // Region handler code for state S1 Region2 | ||
+ | int testcase:: | ||
+ | ... | ||
+ | } | ||
+ | |||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== New Parameter PrefixStateNamesWithMachineName ===== | ||
+ | This parameter allows to prefix state names with the C machine name. Use this option if multiple state-machine header files are included into one other file (e.g. main.c) to avoid definition conflicts due to double used state names. See also parameter PrefixMsg- WithMachineName. | ||
+ | |||
+ | ===== New Parameter PrefixStateNamesWithParentName ===== | ||
+ | This parameter allows to prefix state names with the parent state name. Use this option if you have a hierarchical state machine and want to use the same state names in different child states. Example: There are two parent states called '' | ||
+ | |||
+ | |||
+ | This new version is free for users who bought their license within the last two years. |
wiki/news/03jan2013.1357242044.txt.gz · Last modified: 2013/01/03 20:40 by pmueller