Inherited by ActionController.
Public Member Functions | |
| virtual ActionId | SelectModeAutomatic ()=0 |
| This action triggers the vision system to change from the "Pre-operational" state into the operational mode "OperationalAutomaticMode". More... | |
| virtual ActionId | PrepareRecipe (RecipeId const &recipeId)=0 |
| This action triggers the vision system to load a recipe with the specified ID and the vision app (i.e., *.mvapp) that is referenced in the recipe. More... | |
| virtual ActionId | UnprepareRecipe (std::optional< RecipeId > const &recipeId)=0 |
| This action may only be called while the vision system is in the "Ready" state. More... | |
| ActionInfo | StartSingleJob () |
| This action is called to trigger a single execution of the vision app (i.e., *.mvapp) that is referenced in the currently prepared recipe. More... | |
| ActionInfo | StartContinuous () |
| This action is called to trigger a continuous execution of the vision app (i.e., *.mvapp) that is referenced in the currently prepared recipe. More... | |
| virtual ActionInfo | StartSingleJob (std::optional< RecipeId > const &recipeId, std::vector< VariantScalar > startParams) |
| This action is called to trigger a single execution of the vision app (i.e., *.mvapp) but with additional parameters. More... | |
| virtual ActionInfo | StartContinuous (std::optional< RecipeId > const &recipeId, std::vector< VariantScalar > startParams) |
| This action is called to trigger a continuous execution of the vision app (i.e., *.mvapp) but with additional parameters. More... | |
| virtual ActionInfo | StartSingleJob (StartJobOptions options)=0 |
| This action is called to trigger a single execution of the vision app (i.e., *.mvapp) where options to parameterize the job are aggregated in the data structure StartJobOptions. More... | |
| virtual ActionInfo | StartContinuous (StartJobOptions options)=0 |
| This action is called to trigger a continuous execution of the vision app (i.e., *.mvapp) where options to parameterize the job are aggregated in the data structure StartJobOptions. More... | |
| virtual ActionId | Halt ()=0 |
| This action can be called in any of the sub-states of "Operational" or in the state "Pre-operational" to facilitate the transition of the vision system to the "Halted" state. More... | |
| virtual ActionId | Reset ()=0 |
| This action behaves similarly to Halt with the distinction that the vision system will ultimately end up in the "Pre-operational" state. More... | |
| virtual ActionId | Stop ()=0 |
| This action is called to stop the execution of the vision app and may thus only be called in the state "SingleExecution". More... | |
| virtual ActionId | Abort ()=0 |
| This action is currently synonymous to Stop. More... | |
|
pure virtual |
This action is currently synonymous to Stop.
Implemented in ActionController.
|
pure virtual |
This action can be called in any of the sub-states of "Operational" or in the state "Pre-operational" to facilitate the transition of the vision system to the "Halted" state.
Note that the system may not change immediately to the "Halted" state but unprepare the currently prepared recipe during which time it will intermediately change to the "Initialized" state. If an execution is in progress while Halt is called, it will finish as usual but the system will change to "Initialized" without intermediately going to "Ready" and no Ready event will be emitted. However, the corresponding ResultReady event will be.
Implemented in ActionController.
|
pure virtual |
This action triggers the vision system to load a recipe with the specified ID and the vision app (i.e., *.mvapp) that is referenced in the recipe.
PrepareRecipe is called automatically when MERLIC RTE is started and can be called in either the "Initialized" or "Ready" state. In the latter, it will trigger the unpreparation of the previously prepared recipe. While the recipe is being prepared, the system will change into the "Initialized" state and return to "Ready" once it concluded at which point a RecipePrepared event is emitted
| recipeId | the specified recipe ID which should be loaded |
Implemented in ActionController.
|
pure virtual |
This action behaves similarly to Halt with the distinction that the vision system will ultimately end up in the "Pre-operational" state.
It can be called in any of the sub-states of "Operational" or in "Halted".
Implemented in ActionController.
|
pure virtual |
This action triggers the vision system to change from the "Pre-operational" state into the operational mode "OperationalAutomaticMode".
Note that the vision system triggers the selection of the automatic mode on startup.
Implemented in ActionController.
|
inline |
This action is called to trigger a continuous execution of the vision app (i.e., *.mvapp) that is referenced in the currently prepared recipe.
It may only be called in the "Ready" state. The vision system will change to the "ContinuousExecutionState" state and emit a JobStarted event as the execution commences. The continuous execution is a series of single executions with the difference that the vision system only emits a "Ready" event after the execution is stopped.
|
pure virtual |
This action is called to trigger a continuous execution of the vision app (i.e., *.mvapp) where options to parameterize the job are aggregated in the data structure StartJobOptions.
| options | The parameter contains a data structure which holds all of the additional parameters which can be set when starting a job. All of the parameters have default initializers, so if C++20 is available, designated initializers may be used to only specify a subset. The data structure may be extended in future API versions. |
Implemented in ActionController, and ActionController.
|
inlinevirtual |
This action is called to trigger a continuous execution of the vision app (i.e., *.mvapp) but with additional parameters.
See also StartContinuous().
| recipeId | The parameter represents the recipe ID of the recipe that is to be executed. The parameter is optional: If no recipe ID is specified, the currently prepared recipe is executed. If a recipe ID is specified, it must match the ID of the latest prepared recipe. |
| startParams | The parameter represents the vector of parameter values that are used for the single execution instead of the parameter values defined in the recipe that is to be executed. When specifying the parameter values in the vector, some requirements must be fulfilled.
|
Reimplemented in ActionController.
|
inline |
This action is called to trigger a single execution of the vision app (i.e., *.mvapp) that is referenced in the currently prepared recipe.
It may only be called in the "Ready" state. The vision system will change to the state "SingleExecution" and emit a JobStarted event as the execution commences. Upon the execution's completion, the system returns to the "Ready" state and emits a Ready event unless preempted by way of Halt or Reset actions during the ongoing execution.
|
pure virtual |
This action is called to trigger a single execution of the vision app (i.e., *.mvapp) where options to parameterize the job are aggregated in the data structure StartJobOptions.
| options | The parameter contains a data structure holding all of the additional parameters which can be set when starting a job. All of the parameters have default initializers, so if C++20 is available, designated initializers may be used to only specify a subset. The data structure may be extended in future API versions. |
Implemented in ActionController, and ActionController.
|
inlinevirtual |
This action is called to trigger a single execution of the vision app (i.e., *.mvapp) but with additional parameters.
See also StartSingleJob().
| recipeId | The parameter represents the recipe ID of the recipe that is to be executed. The parameter is optional: If no recipe ID is specified, the currently prepared recipe is executed. If a recipe ID is specified, it must match the ID of the latest prepared recipe. |
| startParams | The parameter represents the vector of parameter values that are used for the single execution instead of the parameter values defined in the recipe that is to be executed. When specifying the parameter values in the vector, some requirements must be fulfilled.
|
Reimplemented in ActionController.
|
pure virtual |
This action is called to stop the execution of the vision app and may thus only be called in the state "SingleExecution".
Currently, calling Stop will not stop the execution any sooner than it would by simply waiting for the single execution to finish. However, once the execution concludes, the resulting Ready and StateChanged events will reference the ID of the Stop action as their cause.
Implemented in ActionController.
|
pure virtual |
This action may only be called while the vision system is in the "Ready" state.
It causes the vision system to unload the vision app (i.e., *.mvapp) that is referenced in the currently prepared recipe and to return to the "Initialized" state. A RecipeUnprepared event is emitted as soon as the unloading starts and the recipe becomes unavailable to execution.
| recipeId | the specified recipe ID which should be unloaded, or nullopt to unload any prepared recipe |