Apama 10.3 | Apama Documentation | Developing Apama Applications | Developing EPL Plug-ins | EPL Plug-ins in C and C++ Written Prior to 10.0 | Advanced plug-in functionality in C++ and C | The complete example
The complete example
The file complex_plugin.cpp in the samples/correlator_plugin/cpp directory of your Apama installation contains the implementation of the ComplexPlugin:: methods and the ExampleChunk class. The implementation of ComplexPlugin::test1 is particularly interesting as it demonstrates how to use the functionality provided by the EPL plug-in C++ API to examine the type of a parameter and act accordingly.
The equivalent C example is supplied in the installation as complex_plugin.c in the samples/correlator_plugin/c folder of your Apama installation.
The plug-in initialization and shutdown methods are as used within simple_plugin.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.