SinelaboreRT Header Logo

SinelaboreRT

It's better when it's simple!

User Tools

Site Tools


wiki:news:03jan2013

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:news:03jan2013 [2013/01/03 20:47]
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("​Outer test action\n"​);​ 
- 
  
  switch (stateVars.stateVar) {  switch (stateVars.stateVar) {
Line 64: Line 58:
  
  
-==== New Parameter PrefixStateNamesWithMachineName ====+===== 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. 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 ====+===== 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 ''​EngineOn''​ and ''​EngineOff''​. And in both states you have children ''​FuelPumpOn''​ and ''​FuelPumpOff''​. To make the children names unique they can be prefixed with the parent name. 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 ''​EngineOn''​ and ''​EngineOff''​. And in both states you have children ''​FuelPumpOn''​ and ''​FuelPumpOff''​. To make the children names unique they can be prefixed with the parent name.
  
  
 This new version is free for users who bought their license within the last two years. This new version is free for users who bought their license within the last two years.
wiki/news/03jan2013.1357242429.txt.gz · Last modified: 2013/01/03 20:47 by pmueller