智慧時尚股份有限公司 Fashion Intelligence Co., Ltd State Machine 應用簡介 2011.12.14. 葉秉哲 兼談  UML 2
WHY State Machine? .
有些事物,本質上 就有 “ state”  觀念 .
Lock .
Process
有些領域,早就發展出 以 “ state”  為出發點 的思考 / 實作程序 .
序向邏輯電路
非同步事件/訊號 .
十字旋轉門 . ? ?
讓程式員易於檢查 怪異而未處理過 的狀況。 .
十字旋轉門 , revised .
WHY State Machine? 有些事物,本質上就有 “ state”  觀念 有些領域,早就發展出 以 “ state”  為出發點的思考 / 實作程序 非同步事件/訊號 讓程式員易於檢查怪異而未處理過的狀況 好物: Enterprise Architect http://www.sparxsystems.com/products/ea/ .
UML 2  的  State Machine Martin Fowler,  UML Distilled , 3 rd  edition, Addison-Wesley, 2003.  第  10  章。 適合速成。 UML 2 State Machine Diagram http://www.sparxsystems.com/resources/uml2_tutorial/uml2_statediagram.html UML State Machine @ Wikipedia http://en.wikipedia.org/wiki/UML_state_machine .
實作 GoF 1995: State pattern SMC (State Machine Compiler) http://smc.sourceforge.net QP™ state machine frameworks QP/C, QP/C++, QP-nano http://www.state-machine.com C++ Boost http://stackoverflow.com/questions/4275602/boost-statechart-vs-meta-state-machine Meta State Machine (MSM) Statechart .
Boost MSM example .

State machine 應用簡介(兼談 UML 2)

Editor's Notes

  • #2 Version 1.0 : 2011-12-14 @ 智慧時尚 RD 內訓, 15 minutes 。
  • #5 @source http://users.ece.utexas.edu/~ambler/ee306/Software&Doc/Section_3_7.pdf
  • #6 @source: 恐龍版 Operating System Concepts .
  • #8 @source: http://soc.cs.nchu.edu.tw/pllai/Digital%20System.html
  • #10 @inspired Robert Cecil Martin, Agile Software Development: Principles, Patterns, and Practices . Prentice Hall, 2002.
  • #12 @inspired Robert Cecil Martin, Agile Software Development: Principles, Patterns, and Practices . Prentice Hall, 2002.
  • #16 @see http://www.boost.org/doc/libs/1_48_0/libs/msm/doc/HTML/ch03s02.html