15 #ifndef AP_EVENT_CODEC_H 16 #define AP_EVENT_CODEC_H 20 #include <IAF_Platform.h> 50 #define AP_EVENTCODEC_VERSION 0x00040000 57 #define AP_EVENTCODEC_CAP_ENCODER 0x0001 58 #define AP_EVENTCODEC_CAP_DECODER 0x0002 66 #define AP_EVENTCODEC_INFO_FUNCTION_NAME AP_EventCodec_info 67 #define AP_EVENTCODEC_CTOR_FUNCTION_NAME AP_EventCodec_ctor 68 #define AP_EVENTCODEC_DTOR_FUNCTION_NAME AP_EventCodec_dtor 515 typedef AP_EVENTCODEC_API void (AP_EVENTCODEC_CALL*
AP_EventCodecInfoPtr)(AP_uint32* version, AP_uint32* capabilities);
AP_EventCodecError(* flushDownstream)(struct AP_EventDecoder *decoder)
flushDownstream
Definition: EventCodec.h:384
AP_EventCodecError
AP_EventCodecError.
Definition: EventCodec.h:92
AP_EVENTCODEC_API void(AP_EVENTCODEC_CALL * AP_EventCodecInfoPtr)(AP_uint32 *version, AP_uint32 *capabilities)
AP_EventCodecInfoPtr.
Definition: EventCodec.h:515
void(* setSemanticMapper)(struct AP_EventDecoder *decoder, AP_SemanticMapper *mapper)
setSemanticMapper
Definition: EventCodec.h:370
void * reserved
Pointer to private internal data.
Definition: EventCodec.h:417
AP_EventCodec_Functions.
Definition: EventCodec.h:193
AP_EventCodecError(* updateProperties)(struct AP_EventCodec *codec, AP_EventCodecProperties *properties, IAF_TimestampConfig *timestampConfig)
updateProperties
Definition: EventCodec.h:215
AP_EventEncoder * encoder
Pointer to embedded encoder.
Definition: EventCodec.h:485
Everything is fine.
Definition: EventCodec.h:94
AP_uint64 totalDecoded
Total number of downstream events decoded since IAF was run.
Definition: EventCodec.h:160
AP_char8 * name
properties name
Definition: EventCodec.h:133
Trouble sending encoded event to transport.
Definition: EventCodec.h:102
AP_EventDecoder * decoder
Pointer to embedded decoder.
Definition: EventCodec.h:490
AP_EventCodec.
Definition: EventCodec.h:469
void(* addEventTransport)(struct AP_EventEncoder *encoder, const AP_char8 *name, struct AP_EventTransport *transport)
addEventTransport
Definition: EventCodec.h:311
AP_EventEncoder.
Definition: EventCodec.h:412
struct AP_EventDecoder_Functions * functions
Function table of decoder operations.
Definition: EventCodec.h:451
AP_EventCodecProperty.
Definition: EventCodec.h:116
AP_EventEncoder_Functions.
Definition: EventCodec.h:254
AP_EVENTCODEC_API AP_EventCodec *(AP_EVENTCODEC_CALL * AP_EventCodecCtorPtr)(AP_char8 *name, AP_EventCodecProperties *properties, AP_EventCodecError *err, AP_char8 **errMsg, IAF_TimestampConfig *timestampConfig)
AP_EventCodecCtorPtr.
Definition: EventCodec.h:544
void(* getStatus)(struct AP_EventCodec *codec, AP_EventCodecStatus *status)
getStatus
Definition: EventCodec.h:239
AP_EventCodecProperties.
Definition: EventCodec.h:131
External (client-visible) interface to Transport Integration Layer (TIL) plugin libraries within the ...
AP_EventDecoder.
Definition: EventCodec.h:440
struct AP_EventEncoder_Functions * functions
Function table of encoder operations.
Definition: EventCodec.h:423
AP_NormalisedEvent * statusDictionary
Additional status information about this codec.
Definition: EventCodec.h:177
AP_char8 * value
property value
Definition: EventCodec.h:120
AP_uint64 totalEncoded
Total number of encoded events since the IAF was run.
Definition: EventCodec.h:164
IAF_TimestampConfig.
Definition: IAF_TimestampConfig.h:29
AP_NormalisedEvent.
Definition: NormalisedEvent.h:454
void * reserved
Pointer to private internal data.
Definition: EventCodec.h:445
Couldn't decode an incoming customer event.
Definition: EventCodec.h:100
void * reserved
Pointer to private internal data.
Definition: EventCodec.h:474
AP_EventDecoder_Functions.
Definition: EventCodec.h:339
void(* removeEventTransport)(struct AP_EventEncoder *encoder, const AP_char8 *name)
removeEventTransport
Definition: EventCodec.h:324
AP_EventCodecError(* sendNormalisedEvent)(struct AP_EventEncoder *encoder, AP_NormalisedEvent *event, AP_TimestampSet *timeStamp)
sendNormalisedEvent
Definition: EventCodec.h:271
Couldn't encode an incoming normalised event.
Definition: EventCodec.h:98
Hires Timestamps configuration support.
AP_EventCodecStatus.
Definition: EventCodec.h:151
AP_char8 * name
property name
Definition: EventCodec.h:118
Trouble sending decoded event to Semantic Mapper.
Definition: EventCodec.h:104
AP_SemanticMapper.
Definition: SemanticMapper.h:174
AP_EventTransport.
Definition: EventTransport.h:396
AP_EVENTCODEC_API void(AP_EVENTCODEC_CALL * AP_EventCodecDtorPtr)(AP_EventCodec *codec)
AP_EventCodecDtorPtr.
Definition: EventCodec.h:560
AP_TimestampSet.
Definition: AP_TimestampSet.h:306
AP_EventCodecProperty ** properties
array of codec property values
Definition: EventCodec.h:135
struct AP_EventCodec_Functions * functions
Function table of codec operations.
Definition: EventCodec.h:480
AP_EventCodecError(* flushUpstream)(struct AP_EventEncoder *encoder)
flushUpstream
Definition: EventCodec.h:285
AP_EventCodecError(* sendTransportEvent)(struct AP_EventDecoder *decoder, AP_TransportEvent event, AP_TimestampSet *timeStamp)
sendTransportEvent
Definition: EventCodec.h:359
Codec was passed an invalid property set.
Definition: EventCodec.h:106
AP_char8 * status
Free form text string containing a codec specific status message.
Definition: EventCodec.h:156
Some unspecified internal error occurred.
Definition: EventCodec.h:96