diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-02-26 09:27:20 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-02-26 09:27:20 -0700 |
commit | 19540e5ad7306aaf0a55dae2340de0ef3c353df1 (patch) | |
tree | 628ef78a583c73a0ab9ea3865ac912f7404ac879 /doc | |
parent | eddac2e3b2f9dd6881a41d17a9cdd22da2843480 (diff) |
initial version of transport state machine diagram
Diffstat (limited to 'doc')
-rw-r--r-- | doc/transport-state.gv | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/transport-state.gv b/doc/transport-state.gv new file mode 100644 index 0000000000..4f4e380465 --- /dev/null +++ b/doc/transport-state.gv @@ -0,0 +1,26 @@ +digraph finite_state_machine { + rankdir=TB; + start="STOPPED"; + + node [shape = ellipse]; + STOPPED -> locateWait [ label = "Locate/Chase", fontcolor=red ]; + STOPPED -> prerollWait [ label = "speed(!0)",fontcolor=red]; + + masterWait -> prerollWait [ label = "MasterHere", fontcolor=red ]; + + prerollWait -> ROLLING; + prerollWait -> STOPPED [ label = "speed(0)", fontcolor=red ]; + ROLLING -> DECLICKOUT [ label = "speed(0)/Locate/Chase",fontcolor=red ] + ROLLING -> reverseWait [ label = "speed(-speed)",fontcolor=red ]; + + reverseWait -> ROLLING; + + DECLICKOUT -> STOPPED; + DECLICKOUT -> locateWait; + DECLICKOUT -> masterWait [ label = "Chase",fontcolor=red ]; + + locateWait -> masterWait [ label = "Chase",fontcolor=red ]; + locateWait -> STOPPED [ label = "autoplay-off",fontcolor=blue ]; + locateWait -> prerollWait [ label = "autoplay-on",fontcolor=blue ]; + +} |