TaskExecuter

Inherits from Dispatcher

Description

A class that represents a Dispatcher that can also execute TaskSequences.

Properties

activeTask Accesses the task that is currently being executed by the object.
activeTaskSequence Accesses the task sequence that is currently being executed by the object.
navigator Accesses the task executer's navigator, i.e. the object that manages travel tasks.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

TaskExecuter.activeTask

readonly TaskSequence.Task activeTask

Description

Accesses the task that is currently being executed by the object.


        TaskExecuter obj = Model.find("Operator1");
        int taskType = obj.activeTask.type;
        ...
      
Do no remove, this fixes the anchor on doc.flexsim.com

TaskExecuter.activeTaskSequence

readonly TaskSequence activeTaskSequence

Description

Accesses the task sequence that is currently being executed by the object.


TaskExecuter obj = Model.find("Operator1");
double tsPriority = obj.activeTaskSequence.priority;
...
      		
Do no remove, this fixes the anchor on doc.flexsim.com

TaskExecuter.navigator

readonly Navigator navigator

Description

Accesses the task executer's navigator, i.e. the object that manages travel tasks.