vcProcessExecutor
Process executor is a behavior that holds and runs process routines (vcProcessRoutine). Each process routine is an implementation of a process. The execution order of the process routines is controlled by the parent process controller (vcProcessController).
Inherits: vcExecutor, vcBehaviour
Type constant: VC_PROCESSEXECUTOR
Properties
Name | Type | Access | Description |
ProcessController | vcProcessController | R | Gets the associated process controller. |
Processes | List of vcProcessRoutine | R |
Gets all process routines in this executor. Returns None if the executor does not have a program. |
TransportNode | vcTransportNode | RW |
Gets the associated transport node that this executor’s processes use to receive and send product instances. Setting this property also sets the ProcessExecutor property on the new transport node, and clears the property from the old transport node, if there was one. |
Methods
Name | Return Type | Parameters | Description |
addProcess | vcProcessRoutine | String name |
Creates a new process routine and adds it to this executor’s program. The routine name has to be unique within this executor’s program. Returns None if the executor doesn’t have a program. |
deleteProcess | None | vcProcessRoutine routine | Removes the given routine from this executor’s program and deletes it. |