Andreas Misje
e68077c54c
Merge pull request #1 from i5ting/master
...
Makefile (for compiling example) added
2014-03-20 22:29:21 +01:00
shiren1118
915458bb73
add make file
2014-02-23 09:44:32 +08:00
Andreas Misje
ea2c4f4be4
Added license file
2013-07-17 14:31:14 +02:00
Andreas Misje
394bb536d7
Documentation updated and fixed
2013-07-17 10:37:50 +02:00
Andreas Misje
76bd8dbf4e
Added a test/example testing multiply nested states
2013-07-17 10:26:38 +02:00
Andreas Misje
4dcd00860a
Transition action can now also access next state's data
2013-07-17 10:14:35 +02:00
Andreas Misje
7148cf7a69
Incorrect nested state behaviour fixed
...
Multiply nested states are now correctly traversed: entryStates are
followed down the family tree until a state without an entryState is
found.
When a transition returns a state the same as the current state,
entry/exit actions should not be called. This only worked for a single
nesting level, and only for entry actions. Now it works for multiply
nested states and for both entry/exit actions.
2013-07-17 09:57:20 +02:00
Andreas Misje
9692e80280
Added readme
2013-07-10 01:07:49 +02:00
Andreas Misje
024cc41db4
Removed full path listing in doxygen help files
2013-07-09 23:54:21 +02:00
Andreas Misje
432d2ed521
Changed license from GPL to MIT
2013-07-09 23:41:48 +02:00
Andreas Misje
51d5a6a24c
Changed directory structure + updated documentation
2013-07-09 23:36:43 +02:00
Andreas Misje
67afd2a763
Example ASCII graphics touch-up
2013-07-08 22:03:09 +02:00
Andreas Misje
caccbc32b0
stateM_errorStateReached now returned when error state reached
...
It was previously only returned if the state machine explicitly moved to
the error state.
2013-07-08 22:02:11 +02:00
Andreas Misje
9dba4df561
Transition action now has access to state data variable
2013-07-08 21:49:39 +02:00
Andreas Misje
d4afadc09e
Updated gitignore
2013-07-08 20:57:52 +02:00
Andreas Misje
1d39633fc8
Code formatting clean-up in example
2013-07-08 20:54:08 +02:00
Andreas Misje
d9077e1b21
Added doxygen config file and doxy module definition
2013-07-08 20:53:44 +02:00
Andreas Misje
af3852ecd4
Added license information to all files
2013-07-08 20:52:53 +02:00
Andreas Misje
3dcc6997d3
Small comment fix.
2013-07-04 02:28:34 +02:00
Andreas Misje
881c1edc30
Added new return value to stateM_handleEvents()
...
Returns stateM_stateLoopSelf is state loops back to itself in a
transition.
2013-07-04 02:23:46 +02:00
Andreas Misje
bc82aa0f0c
Changed state loop transition behaviour + fixed bug in example
...
A state returning to itself through a transition (either directly or
through a group/parent state) will now no longer have is entry or exit
actions triggered.
The various actions in the example have been fixed so that the example
follows the illustration. It is also changed so that it also
demonstrates entryState use, and how a state looping to itself doesn't
trigger entryActions/exitActions.
2013-07-04 02:08:14 +02:00
Andreas Misje
3436b1da73
Small touch-ups in comments.
2013-06-06 18:36:35 +02:00
Andreas
70e3ca0b7a
Fixed typo in documentation.
2013-03-29 17:43:19 +01:00
Andreas
3cf71c232b
Added gitignore file.
2013-03-29 17:38:50 +01:00
Andreas
f8e6d4760e
Added group state label in example' comment ascii graphic
2013-03-29 11:51:27 +01:00
Andreas
0a5fd46f2d
Added guard label in ascii graphic in example comment.
2013-03-29 11:49:34 +01:00
Andreas
ee92f257a8
Re-arranged state definitions in example.
2013-03-29 11:35:27 +01:00
Andreas
a3cbe47bcf
Added project files.
2013-03-29 10:27:42 +01:00