IActionController.h File Reference

Interface for functions which each enqueue an action at the vision system. More...

#include <mvtec/plugin/mv_plugin_api_v2.h>
#include <mvtec/plugin-support/v1/Defines.h>
#include <optional>
#include <vector>

Data Structures

struct  StartJobOptions
 
class  IActionController
 

Detailed Description

Interface for functions which each enqueue an action at the vision system.

The communication between plugins inside the Communicator and the vision system mainly utilizes two FIFO queues, one for either direction:

  1. Actions are commands from a plugin to the vision system which affect the state of the vision system. Examples are the triggering of executions, the loading of recipes, etc. These actions are queued by the various plugins and dealt with in order by the vision system. No immediate feedback is provided other than that an action was enqueued correctly; however, each action is assigned an ActionId upon being queued which may be used to keep track of the events that result from the action as it is processed.
  2. Events (-> EventMonitor.h)