Implementing Communication Plug-ins

For the implementation of a plug-in for MERLIC RTE, any programming language may be used which provides a foreign function interface (FFI) to C and compiles to native machine code. In particular, C++ may be used to take advantage of the platform-independent facilities provided by the C++ standard library, for example, for multithreading.

The SDK also includes a support library which provides a higher-level C++ API on top. When using the support library, you do not have to work with the C API directly and writing tests for a plug-in is much easier. The support library translates the handle types of the C API either directly into C++ vocabulary types or into aggregate types which support value semantics. Further, the handling of failures through error codes returned from the C API functions is replaced by exception handling to promote branchless control flow. The example plug-ins provided by MVTec make use of the support library to demonstrate its usage and enhance their readability. For more information, see C++ Plug-in Support Library.

The API itself is based around C functions which are documented in detail in the respective header file references.

Get More Information

Getting Started with Plug-in Development

Get information on how to get started with developing communication plug-ins for use with MERLIC RTE.

Getting Information about the Recipes

Get information about how to query the list of recipe files and the parameters of recipes.

Plug-in Configuration

Get information about how to provide a plug-in configuration interface for the user.

Building a Plug-in

Get information on how to build a communication plug-in and how to provide it for MERLIC RTE.

Providing the Plug-ins for MERLIC RTE

Get information on how to provide your custom communication plug-in for MERLIC RTE.