17 Commits

Author SHA1 Message Date
John Wellbelove
e3c6865bd1 Added has_successor() and get_successor()
Move successor pointer from protected to private
2017-12-04 10:21:41 +00:00
John Wellbelove
9f4fe86df9 Added 'successor' member to allow implementation 'Chain Of Responsibility' pattern. 2017-11-30 16:56:22 +00:00
John Wellbelove
a742749849 Merge branch 'development' 2017-11-01 09:33:17 +00:00
John Wellbelove
0c65164483 Added is_null_router() & is_bus() to imessage_router 2017-10-27 11:11:22 +01:00
John Wellbelove
8455e108bc Merge remote-tracking branch 'origin/feature/Timer_triggered_messages' into development
# Conflicts:
#	examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/startup_stm32f401xe.s
#	examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/system_stm32f4xx.c
#	examples/FunctionInterruptSimulation/FunctionInterruptSimulation.cpp
#	examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.sln
#	examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.vcxproj
#	examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.vcxproj.filters
#	test/codeblocks/ETL.cbp
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
#	test/test_cyclic_value.cpp
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
2017-10-18 09:02:46 +01:00
John Wellbelove
69704e8b6a Made it optional for messages to be virtual.
By default they are not.
Can be made virtual by defining ETL_MESSAGES_ARE_VIRTUAL in the project settings.
2017-08-17 15:33:29 +01:00
John Wellbelove
2e5cc0eb4d FSM, Router and bus implementations. 2017-08-03 23:31:50 +01:00
John Wellbelove
740e8b4dd6 Reverted message_id to a virtual function 2017-07-31 19:31:39 +01:00
John Wellbelove
93f2ac02c2 Redo accidental revert 2017-07-31 17:30:28 +01:00
John Wellbelove
672102228f Minor API changes 2017-07-31 10:29:05 +01:00
John Wellbelove
25320ec578 GCC compatibility 2017-07-30 13:05:59 +01:00
John Wellbelove
7991e1aa7c Latest router and message bus changes.
Defined guaranteed call order for routers and busses.
2017-07-30 11:26:53 +01:00
John Wellbelove
f70850f7f5 Lastest FSM and router changes.
Added message_bus.
Created generators for largest and smallest.
2017-07-28 20:34:58 +01:00
John Wellbelove
0ccdd4fab4 Lastest versions of FSM, Message Router and supporting functionality. 2017-07-25 11:30:00 +01:00
John Wellbelove
73da59ad17 Integrated FSM and message router classes.
Fixed GCC compatibility issue.
Added on_enter_state() return tests.
2017-07-21 20:11:02 +01:00
John Wellbelove
7db12ea0fd Integrated FSM and message router classes. 2017-07-21 20:11:02 +01:00
John Wellbelove
04a9cb7bba Changed FSM to be based on message router 2017-07-21 20:11:02 +01:00