Belle II Software  release-08-01-10
StreamHelper Class Reference

Helper class for data store serialization. More...

#include <StreamHelper.h>

Collaboration diagram for StreamHelper:

Public Member Functions

void initialize (int compressionLevel, bool handleMergeable)
 Initialize this class. Call this e.g. in the first event.
 
std::unique_ptr< EvtMessagestream (bool addPersistentDurability=true, bool streamTransientObjects=true)
 Stream the data store into an event message.
 
void read (std::unique_ptr< ZMQNoIdMessage > message)
 Read in a ZMQ message and rebuilt the data store from it.
 

Private Attributes

std::unique_ptr< DataStoreStreamerm_streamer
 The data store streamer to use.
 
StoreObjPtr< RandomGeneratorm_randomGenerator
 The random generator object in the data store that we need to transport also.
 

Detailed Description

Helper class for data store serialization.

Definition at line 23 of file StreamHelper.h.


The documentation for this class was generated from the following files: