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.
  • In non-safety builds, during streaming phase:
    • Reports updated packet attributes.
    • Reports removal of buffers allocated for old attributes and addition of new ones.
Note:

Reallocation of buffers in non-safety builds are not supported in this release.