Apama  10.15.3.4
AP_EventCodec Struct Reference

AP_EventCodec. More...

#include <EventCodec.h>

Public Attributes

void * reserved
 Pointer to private internal data. More...
 
struct AP_EventCodec_Functionsfunctions
 Function table of codec operations. More...
 
AP_EventEncoderencoder
 Pointer to embedded encoder. More...
 
AP_EventDecoderdecoder
 Pointer to embedded decoder. More...
 

Detailed Description

AP_EventCodec.

External (client-visible) interface to an IAF codec plugin library. The AP_EventCodec struct contains pointers to the encoder and decoder parts of the codec (either of these may be NULL if the codec operates in one direction only) and a table of function pointers, declared in the AP_EventCodec_Functions struct above. The implementation of these functions is private. Users of the codec should invoke functions on it as in the following example (codec is of type AP_EventCodec*):

i = codec->functions->updateProperties(codec, properties, timestampConfig);

Member Data Documentation

◆ decoder

AP_EventDecoder* AP_EventCodec::decoder

Pointer to embedded decoder.

◆ encoder

AP_EventEncoder* AP_EventCodec::encoder

Pointer to embedded encoder.

◆ functions

struct AP_EventCodec_Functions* AP_EventCodec::functions

Function table of codec operations.

See documentation for AP_EventCodec_Functions for details.

◆ reserved

void* AP_EventCodec::reserved

Pointer to private internal data.


The documentation for this struct was generated from the following file: