Event type not set when listening to R0 hdf5 streamer
When the program listens to the R0 hdf5 streamer (hiperta_stream_r0
) the zmq messages are parsed here and event_type
is not set.
This is the case because the R0 streamer does not stream the event type: it was initially implemented to stream simulations which only have cosmic events. What the R0 streamer sends is defined directly in the main of the streamer
-
Use message_r0_deserialize
to parse the zmq message of the streamer, making it explicit that the content of the message is set bymessage_r0_serialize
-
Add the event_type to message_r0_serialize
andmessage_r0_deserialize
-
Reassure @vincent.pollet that event_type
has the right type (int
is correct andunsigned int long
should not be used) -
Update DataStream to be able to copy message data without additional copy ? -
Have a look at the default values (unused ?) in stream_api_impl.h
Edited by POLLET Vincent