The Communicator API provides various functions to get information about your recipes. This topic gives a small insight to the possibilities on how and which information you can query about your recipe files. For more information about the available functions, see the reference documentation of mv_recipe_store.h
To get a list of all recipes, you can use the function MV_GetRecipeList() which returns the recipes in MVRecipeList_t:
The Communicator API provides some further functions with respect to recipe lists, e.g., getting the size of the recipe list or getting recipes by their ID. See the reference documentation of mv_recipe_store.h for more information about the available functions.
You can also query the input and output parameters of the respective recipe files that were returned in MVRecipeList_t. The input parameters represent the tool parameters that have been specified as MVApp parameters in the respective MVApp that is associated with the recipe whereas the output parameters reflect the MVApp results of the same MVApp.
To query the input and output parameters of a recipe MVRecipe_t in the recipe list MVRecipeList_t, use the functions MV_Recipe_InputParam_Next(), MV_Recipe_InputParam_GetSize(), MV_Recipe_OutputParam_Next(), and MV_Recipe_OutputParam_GetSize().
The following example shows how the information of the recipe output parameters, i.e., MVApp results of the associated MVApp, are queried in the example plug-in "action-sender".