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-2015 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.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.