Skip to content

Draft: cxx: add data sender / receiver

Stephan Lachnit requested to merge p-cxx-data into main

The goal is to support two modes: either send a data frame directly, or create a message and attach as many data frames as you like, then send it.

For now, this MR does not implement this as a "hidden API", i.e. one needs to call the beginRun and endRun directly. However I have a plan to determine this at run time if the user inherits from DataSender.

TODO:

  • Set filename on RawFileWriter
  • Set (list of) subscriber(s) for DataReceiver
  • Come up API for reaching SNDHWM
  • Remove RCVHWM
  • Check if we really need to close the socket on the receiver
Edited by Stephan Lachnit

Merge request reports