Module Process
Global(s)
| PROCESS |
Type PROCESS
| PROCESS:AddScore(ProcessStatus, ScoreText, Score) |
Adds a score for the PROCESS to be achieved. |
| PROCESS.AllowEvents | |
| PROCESS.ClassName | |
| PROCESS.Fsm | |
| PROCESS:New(ProcessName, Task, ProcessUnit) |
Instantiates a new TASK Base. |
| PROCESS.NextEvent | |
| PROCESS:OnStateChange(Fsm, Event, From, To) |
StateMachine callback function for a PROCESS |
| PROCESS.ProcessName | |
| PROCESS.ProcessScheduler | |
| PROCESS.ProcessUnit | |
| PROCESS.Scores | |
| PROCESS:StopEvents() | |
| PROCESS.Task |
Global(s)
Type Process
Type PROCESS
The PROCESS class
Field(s)
- PROCESS:AddScore(ProcessStatus, ScoreText, Score)
-
Adds a score for the PROCESS to be achieved.
Parameters
-
#string ProcessStatus: is the status of the PROCESS when the score needs to be given. -
#string ScoreText: is a text describing the score that is given according the status. -
#number Score: is a number providing the score of the status.
Return value
#PROCESS: self
-
- #boolean PROCESS.AllowEvents
- #string PROCESS.ClassName
- PROCESS:New(ProcessName, Task, ProcessUnit)
-
Instantiates a new TASK Base.
Should never be used. Interface Class.
Parameters
-
#string ProcessName: -
Task#TASK_BASE Task: -
Unit#UNIT ProcessUnit:
Return value
#PROCESS: self
-
- PROCESS:OnStateChange(Fsm, Event, From, To)
-
StateMachine callback function for a PROCESS
Parameters
-
#string Event: -
#string From: -
#string To:
- #string PROCESS.ProcessName