Public Attributes | Private Attributes | List of all members
mip_dispatch_handler Struct Reference

Handler information for MIP Packet or Field callbacks. More...

#include <mip_dispatch.h>

Public Attributes

union {
   mip_dispatch_extractor   _extract_callback
 User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_EXTRACT. More...
 
   mip_dispatch_field_callback   _field_callback
 User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_FIELD. More...
 
   mip_dispatch_packet_callback   _packet_callback
 User function for packets. Valid if type is MIP_DISPATCH_TYPE_PACKET*. More...
 
}; 
 

Private Attributes

uint8_t _descriptor_set
 MIP descriptor set for this callback. More...
 
uint8_t _enabled
 If false, the handler will be ignored. (Using u8 for better struct packing.) More...
 
uint8_t _field_descriptor
 MIP field descriptor for this callback. If 0x00, the callback is a packet callback. More...
 
struct mip_dispatch_handler_next
 Pointer to the next handler in the list. More...
 
uint8_t _type
 Type of the callback. (Using u8 for better struct packing.) More...
 
void * _user_data
 User-provided pointer which is passed directly to the callback. More...
 

Detailed Description

Handler information for MIP Packet or Field callbacks.

Definition at line 87 of file mip_dispatch.h.

Member Data Documentation

◆ @60

union { ... }

◆ _descriptor_set

uint8_t mip_dispatch_handler::_descriptor_set
private

MIP descriptor set for this callback.

Definition at line 98 of file mip_dispatch.h.

◆ _enabled

uint8_t mip_dispatch_handler::_enabled
private

If false, the handler will be ignored. (Using u8 for better struct packing.)

Definition at line 100 of file mip_dispatch.h.

◆ _extract_callback

mip_dispatch_extractor mip_dispatch_handler::_extract_callback
private

User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_EXTRACT.

Definition at line 94 of file mip_dispatch.h.

◆ _field_callback

mip_dispatch_field_callback mip_dispatch_handler::_field_callback
private

User callback for data fields. Valid if _type is MIP_DISPATCH_TYPE_FIELD.

Definition at line 93 of file mip_dispatch.h.

◆ _field_descriptor

uint8_t mip_dispatch_handler::_field_descriptor
private

MIP field descriptor for this callback. If 0x00, the callback is a packet callback.

Definition at line 99 of file mip_dispatch.h.

◆ _next

struct mip_dispatch_handler* mip_dispatch_handler::_next
private

Pointer to the next handler in the list.

Definition at line 89 of file mip_dispatch.h.

◆ _packet_callback

mip_dispatch_packet_callback mip_dispatch_handler::_packet_callback
private

User function for packets. Valid if type is MIP_DISPATCH_TYPE_PACKET*.

Definition at line 92 of file mip_dispatch.h.

◆ _type

uint8_t mip_dispatch_handler::_type
private

Type of the callback. (Using u8 for better struct packing.)

See also
mip_dispatch_type

Definition at line 97 of file mip_dispatch.h.

◆ _user_data

void* mip_dispatch_handler::_user_data
private

User-provided pointer which is passed directly to the callback.

Definition at line 96 of file mip_dispatch.h.


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


microstrain_inertial_driver
Author(s): Brian Bingham, Parker Hannifin Corp
autogenerated on Wed Mar 22 2023 02:35:07