mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
update generic sampler with new serialization api
This commit is contained in:
@@ -80,7 +80,8 @@ class base_GenericSampler : public FairMQDevice, public T, public U
|
||||
{
|
||||
std::unique_ptr<FairMQMessage> msg(NewMessage());
|
||||
T::Deserialize(idx);
|
||||
Send<U>(fInput, fOutChanName);
|
||||
Serialize<U>(msg,fInput);
|
||||
Send(msg, fOutChanName);
|
||||
sentMsgs++;
|
||||
if (!CheckCurrentState(RUNNING))
|
||||
break;
|
||||
|
Reference in New Issue
Block a user