Consumer#

A consumer block provides the following interactions with its corresponding application consumer component:

  • During setup phase:

    • Synchronization:

      • Accepts consumer synchronization requirements.

      • Reports producer synchronization requirements.

      • Accepts consumer allocated sync objects.

      • Reports producer allocated sync objects.

    • Buffers:

      • Accepts list of element attributes consumer requires.

      • Reports consolidated packet attribute list.

      • Reports all allocated packets.

  • During streaming phase:

    • Signals availability of packets for reading.

    • Retrieves next payload with fence to wait for before reading.

    • Accepts packet, which can be reused with fence to wait for before the produce writes new data.