diff --git a/Moose Development/Moose/Core/Fsm.lua b/Moose Development/Moose/Core/Fsm.lua index cca4162db..0b42c1656 100644 --- a/Moose Development/Moose/Core/Fsm.lua +++ b/Moose Development/Moose/Core/Fsm.lua @@ -15,27 +15,27 @@ -- * A **State** defines a moment in the process. -- * An **Event** describes an action, that can be triggered both internally as externally in the FSM. An Event can be triggered Embedded or Delayed over time. -- --- ![Test Image](../Presentations/MOOSE - FSM - 1. Concepts/Dia3.jpg) +-- ![Test Image](.\Presentations\DOC.MOOSE - FSM - 1. Concepts\Dia1.jpg) -- -- An FSM transitions in **4 moments** when an Event is being handled. -- Each moment can be catched by handling methods defined by the mission designer, -- that will be called by the FSM while executing the transition. -- These methods define the flow of the FSM process; because in those methods the FSM Internal Events will be fired. -- --- * To catch State moments, create methods starting with OnLeave or OnEnter concatenated with the State name. --- * To catch Event moments, create methods starting with OnBefore or OnAfter concatenated with the Event name. +-- * To handle **State** moments, create methods starting with OnLeave or OnEnter concatenated with the State name. +-- * To handle **Event** moments, create methods starting with OnBefore or OnAfter concatenated with the Event name. -- -- ** The OnLeave and OnBefore transition methods may return false to cancel the transition.** -- --- ![Test Image](../Presentations/MOOSE - FSM - 1. Concepts/Dia4.jpg) +-- ![Test Image](.\Presentations\DOC.MOOSE - FSM - 1. Concepts\Dia3.jpg) -- -- The FSM creates for each Event **two Event trigger methods**. -- There are two modes how Events can be triggered, which is **embedded** and **delayed**: -- --- * The **FSM:Event()** creates an Event that will be processed **embedded** or immediately. --- * The **FSM:__Event( seconds )** creates an Event that will be processed **delayed** over time, waiting x seconds. +-- * The method **FSM:Event()** triggers an Event that will be processed **embedded** or **immediately**. +-- * The method **FSM:__Event( seconds )** triggers an Event that will be processed **delayed** over time, waiting x seconds. -- --- ![Test Image](../Presentations/MOOSE - FSM - 1. Concepts/Dia5.jpg) +-- ![Test Image](.\Presentations\DOC.MOOSE - FSM - 1. Concepts\Dia4.jpg) -- -- 1.1) Define the FSM Rules -- ------------------------- diff --git a/Moose Development/Moose/Dcs b/Moose Development/Moose/Dcs deleted file mode 160000 index 30f1ab19a..000000000 --- a/Moose Development/Moose/Dcs +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 30f1ab19a933a9e861e037f106070c23725a0c9f diff --git a/Moose Training/Presentations/Core/FSM/DOC.MOOSE - FSM - 1. Concepts.pptx b/Moose Training/Presentations/Core/FSM/DOC.MOOSE - FSM - 1. Concepts.pptx new file mode 100644 index 000000000..986713dbf Binary files /dev/null and b/Moose Training/Presentations/Core/FSM/DOC.MOOSE - FSM - 1. Concepts.pptx differ diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia1.JPG b/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia1.JPG similarity index 100% rename from docs/Presentations/MOOSE - FSM - 1. Concepts/Dia1.JPG rename to docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia1.JPG diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia3.JPG b/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia2.JPG similarity index 100% rename from docs/Presentations/MOOSE - FSM - 1. Concepts/Dia3.JPG rename to docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia2.JPG diff --git a/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia3.JPG b/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia3.JPG new file mode 100644 index 000000000..fad41b923 Binary files /dev/null and b/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia3.JPG differ diff --git a/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia4.JPG b/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia4.JPG new file mode 100644 index 000000000..80b7c1fab Binary files /dev/null and b/docs/Presentations/DOC.MOOSE - FSM - 1. Concepts/Dia4.JPG differ diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia2.JPG b/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia2.JPG deleted file mode 100644 index 442d4c0e3..000000000 Binary files a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia2.JPG and /dev/null differ diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia4.JPG b/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia4.JPG deleted file mode 100644 index 54b039046..000000000 Binary files a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia4.JPG and /dev/null differ diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia5.JPG b/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia5.JPG deleted file mode 100644 index 5341ffd0d..000000000 Binary files a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia5.JPG and /dev/null differ diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia6.JPG b/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia6.JPG deleted file mode 100644 index cfa208b57..000000000 Binary files a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia6.JPG and /dev/null differ diff --git a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia7.JPG b/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia7.JPG deleted file mode 100644 index 6ac282097..000000000 Binary files a/docs/Presentations/MOOSE - FSM - 1. Concepts/Dia7.JPG and /dev/null differ