|
CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
|
Structure used to hold state data for a single FIFO. More...
Data Fields | |
| char | name_str [MAX_FIFO_NAME_LENGTH] |
| Name of FIFO. Used for informational purposes only. | |
| int | head_index |
| Current head index position in FIFO. | |
| int | tail_index |
| Current tail index position in FIFO. | |
| int | item_count |
| Number of items FIFO can store. | |
| int | item_byte_size |
| Size in bytes of each FIFO item. | |
| uint8_t * | item_array |
| Pointer to start of the array of FIFO item buffers. | |
| CdiCsID | read_lock |
| Critical section lock for FIFO reads. | |
| CdiCsID | write_lock |
| Critical section lock for FIFO writes. | |
| CdiSignalType | just_pushed_signal |
| Signal used to identify whenever a FIFO item is pushed on the FIFO. | |
| CdiSignalType | just_popped_signal |
| Signal used to identify whenever a FIFO item is popped off the FIFO. | |
| CdiFifoFullCallback | full_cb_ptr |
| Pointer to user-provided FIFO full callback function. | |
| CdiUserCbParameter | full_user_cb_param |
| User-provided parameter passed in structure to full_cb_ptr. | |
Structure used to hold state data for a single FIFO.