Apama Documentation : Developing Apama Applications : Developing Correlator Plug-ins : 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-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback