Belle II Software
release-08-01-10
|
Helper class for data store serialization. More...
#include <StreamHelper.h>
Public Member Functions | |
void | initialize (int compressionLevel, bool handleMergeable) |
Initialize this class. Call this e.g. in the first event. | |
std::unique_ptr< EvtMessage > | stream (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< DataStoreStreamer > | m_streamer |
The data store streamer to use. | |
StoreObjPtr< RandomGenerator > | m_randomGenerator |
The random generator object in the data store that we need to transport also. | |
Helper class for data store serialization.
Definition at line 23 of file StreamHelper.h.