Apama 10.15.5 | Connecting Apama Applications to External Components | Working with IAF Plug-ins | C/C++ Codec Plug-in Development | The C/C++ codec plug-in development specification | Defining the codec function tables | The codec function table
 
The codec function table
Every codec needs to define a generic codec function table. The header file provides a definition for this as an AP_EventCodec_Functions structure with the following functions:
*updateProperties
*getLastError
*getStatus
where the library functions updateProperties, getLastError and getStatus are being defined as being the implementations of the Codec Development Specification's updateProperties,getLastError and getStatus function definitions respectively.
See the AP_EventCodec_Functions structure in the API Reference for C++ (Doxygen) for detailed information.