SynchronousQueryController

Inherits ISynchronousQueryController.

Public Member Functions

 SynchronousQueryController (MVPlugin_t const &plugin_handle)
 
std::vector< RecipeDataGetPreparedRecipeList () override
 Get the list of currently prepared recipes from the vision system. More...
 
std::vector< RecipeDataGetRecipeListByIndices (std::uint32_t begin_index, std::uint32_t end_index) override
 Get the list of recipes in a specified range of indices from the vision system. More...
 
std::vector< RecipeDataGetRecipeList () override
 Get the list of available recipes from the vision system. More...
 
std::optional< RecipeDataGetRecipeById (RecipeId const &recipe_id) override
 Get the recipe with the given recipe ID. More...
 
std::optional< SystemStatusGetSystemStatus () override
 Get the actual System Status. More...
 
std::optional< ResultGetResultById (ResultId result_id) override
 Get a result from the result store based on its ID. More...
 
std::vector< ResultGetResultList () override
 Get a result list from the result store which are all results presently available to the vision system. More...
 
std::vector< ResultGetResultListFiltered (ResultFilter const &filter) override
 Get a result list from the result store with results matching all of the specified filter criteria. More...
 
std::vector< ResultGetResultListFilteredByRecipeId (RecipeId const &recipe_id) override
 Get a result list from the result store which are results of jobs executing the recipe with a specific recipe ID. More...
 
std::vector< ResultGetResultListFilteredByJobId (JobId job_id) override
 Get a result list from the result store which are results of a job with a specific job ID. More...
 
std::vector< ResultGetResultListFilteredByResultState (ResultState result_state) override
 Get a result list from the result store based on their result state. More...
 
std::vector< ResultGetResultListFilteredByMeasId (MeasId const &meas_id) override
 Get a result list from the result store which are results of a job with a specific measurement ID. More...
 
std::vector< ResultGetResultListFilteredByPartId (PartId const &part_id) override
 Get a result list from the result store which are results of a job with a specific part ID. More...
 
DataContainer FetchDataContainer (DataContainerDescriptor const &request) override
 Retrieve a data container containing the data components corresponding to the specified descriptor. More...
 

Protected Attributes

MVPlugin_t m_Handle
 

Member Function Documentation

◆ FetchDataContainer()

DataContainer FetchDataContainer ( DataContainerDescriptor const &  request)
inlineoverridevirtual

Retrieve a data container containing the data components corresponding to the specified descriptor.

Parameters
requestis a data container descriptor containing any number of data component descriptors for which the corresponding data components will be retrieved.
Returns
the requested data container. If individual data components could not be retrieved in the specified format, a DataComponentError will take their place.

Implements ISynchronousQueryController.

◆ GetPreparedRecipeList()

std::vector<RecipeData> GetPreparedRecipeList ( )
inlineoverridevirtual

Get the list of currently prepared recipes from the vision system.

Returns
the list of available recipes from the vision system which are prepared or an empty vector if no recipe is prepared or no recipe was loaded or the vision system is not available.

Implements ISynchronousQueryController.

◆ GetRecipeById()

std::optional<RecipeData> GetRecipeById ( RecipeId const &  recipe_id)
inlineoverridevirtual

Get the recipe with the given recipe ID.

Parameters
recipe_idrecipe ID that is looked up
Returns
The recipe that was looked up or nullopt if no recipe was found with the given ID

Implements ISynchronousQueryController.

◆ GetRecipeList()

std::vector<RecipeData> GetRecipeList ( )
inlineoverridevirtual

Get the list of available recipes from the vision system.

Returns
the list of available recipes from the vision system or an empty vector if no recipe was loaded or the vision system is not available.

Implements ISynchronousQueryController.

◆ GetRecipeListByIndices()

std::vector<RecipeData> GetRecipeListByIndices ( std::uint32_t  begin_index,
std::uint32_t  end_index 
)
inlineoverridevirtual

Get the list of recipes in a specified range of indices from the vision system.

Parameters
begin_index
end_index
Returns
the list of available recipes from the vision system with the given range or an empty vector if no recipe meet the conditions or no recipe was loaded or the vision system is not available.

Implements ISynchronousQueryController.

◆ GetResultById()

std::optional<Result> GetResultById ( ResultId  result_id)
inlineoverridevirtual

Get a result from the result store based on its ID.

Parameters
result_idis the result ID for which the result is retrieved.
Returns
the result that was looked up or nullopt if the requested result ID is not found in the result store. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultList()

std::vector<Result> GetResultList ( )
inlineoverridevirtual

Get a result list from the result store which are all results presently available to the vision system.

Returns
the list of results that was looked up or an empty vector if no results were found in the result store. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultListFiltered()

std::vector<Result> GetResultListFiltered ( ResultFilter const &  filter)
inlineoverridevirtual

Get a result list from the result store with results matching all of the specified filter criteria.

Parameters
filteris a data structure which aggregates the various possible filter criteria.
Returns
the list of results that was looked up or an empty vector if no results were found in the result store matching all of the filter criteria. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultListFilteredByJobId()

std::vector<Result> GetResultListFilteredByJobId ( JobId  job_id)
inlineoverridevirtual

Get a result list from the result store which are results of a job with a specific job ID.

Parameters
job_idis the job ID for which results are retrieved.
Returns
the list of results that was looked up or an empty vector if no results were found in the result store for the given job ID. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultListFilteredByMeasId()

std::vector<Result> GetResultListFilteredByMeasId ( MeasId const &  meas_id)
inlineoverridevirtual

Get a result list from the result store which are results of a job with a specific measurement ID.

Parameters
meas_idis the measurement ID for which results are retrieved.
Returns
the list of results that was looked up or an empty vector if no results were found in the result store for the given measurement ID. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultListFilteredByPartId()

std::vector<Result> GetResultListFilteredByPartId ( PartId const &  part_id)
inlineoverridevirtual

Get a result list from the result store which are results of a job with a specific part ID.

Parameters
part_idis the part ID for which results are retrieved.
Returns
the list of results that was looked up or an empty vector if no results were found in the result store for the given part ID. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultListFilteredByRecipeId()

std::vector<Result> GetResultListFilteredByRecipeId ( RecipeId const &  recipe_id)
inlineoverridevirtual

Get a result list from the result store which are results of jobs executing the recipe with a specific recipe ID.

Parameters
recipe_idis the recipe ID for which results are retrieved.
Returns
the list of results that was looked up or an empty vector if no results were found in the result store for the given recipe ID. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetResultListFilteredByResultState()

std::vector<Result> GetResultListFilteredByResultState ( ResultState  result_state)
inlineoverridevirtual

Get a result list from the result store based on their result state.

Parameters
result_stateis the result state for which results are retrieved.
Returns
the list of results that was looked up or an empty vector if no results were found in the result store for the given result state. Note that the result store may only buffer a certain number of past results.

Implements ISynchronousQueryController.

◆ GetSystemStatus()

std::optional<SystemStatus> GetSystemStatus ( )
inlineoverridevirtual

Get the actual System Status.

Returns
the actual system status of the vision system if the vision system is available otherwise nullopt

Implements ISynchronousQueryController.


The documentation for this class was generated from the following file: