|
|
| ActionController (MVPlugin_t handle) |
| |
| ActionId | SelectModeAutomatic () override |
| | This action triggers the vision system to change from the "Pre-operational" state into the operational mode "OperationalAutomaticMode". More...
|
| |
| ActionId | PrepareRecipe (MVPlugin::RecipeId const &recipeId) override |
| | 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...
|
| |
|
ActionId | UnprepareRecipe (std::optional< MVPlugin::RecipeId > const &recipeId) override |
| |
| ActionInfo | StartSingleJob (StartJobOptions options) override |
| | 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...
|
| |
| ActionInfo | StartContinuous (StartJobOptions options) override |
| | 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...
|
| |
| ActionId | Halt () override |
| | 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...
|
| |
| ActionId | Reset () override |
| | This action behaves similarly to Halt with the distinction that the vision system will ultimately end up in the "Pre-operational" state. More...
|
| |
| ActionId | Stop () override |
| | This action is called to stop the execution of the vision app and may thus only be called in the state "SingleExecution". More...
|
| |
| ActionId | Abort () override |
| | This action is currently synonymous to Stop. 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...
|
| |
| 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 | 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...
|
| |
| 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 | 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 | 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 | 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...
|
| |
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.
- Returns
- the unique ID of the action when it is enqueued
Implements IActionController.
| ActionId PrepareRecipe |
( |
MVPlugin::RecipeId const & |
recipeId | ) |
|
|
inlineoverridevirtual |
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
- Parameters
-
| recipeId | the specified recipe ID which should be loaded |
- Returns
- the unique ID of the action when it is enqueued
Implements IActionController.
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.
- Returns
- the unique ID of the action when it is enqueued and a unique ID of the job. Note that job IDs are assigned regardless of whether or not a job can be started at the time the action is processed by the vision system; if so, a JobStarted event will be emitted which references the job ID.
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.
- Returns
- the unique ID of the action when it is enqueued
Implements IActionController.