System for issuing callbacks from MIP packets or fields.
More...
System for issuing callbacks from MIP packets or fields.
◆ mip_dispatch_extractor
typedef bool(* mip_dispatch_extractor) (const mip_field *field, void *ptr) |
Signature for extraction callbacks.
- Parameters
-
field | A valid mip_field. |
ptr | A pointer to the destination field structure. |
Definition at line 55 of file mip_dispatch.h.
◆ mip_dispatch_field_callback
Signature for field-level callbacks.
- Parameters
-
context | User-supplied data pointer. |
field | The MIP field triggering this callback. |
timestamp | The approximate parse time of the packet. |
Definition at line 47 of file mip_dispatch.h.
◆ mip_dispatch_packet_callback
Signature for packet-level callbacks.
- Parameters
-
context | User-supplied data pointer. |
packet | The MIP packet triggering this callback. |
timestamp | The approximate parse time of the packet. |
Definition at line 38 of file mip_dispatch.h.
◆ anonymous enum
Enumerator |
---|
MIP_DISPATCH_ANY_DATA_SET | Wildcard descriptor set which only includes data packets.
- Note
- This is the same value as shared data descriptor set, but the shared data descriptor set is not real and will never be sent by the device.
|
MIP_DISPATCH_ANY_DESCRIPTOR | Any descriptor set or field descriptor.
This is not a valid MIP descriptor.
|
Definition at line 58 of file mip_dispatch.h.