mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
update generic sampler with new serialization api
This commit is contained in:
parent
3b985cd2cd
commit
e977dfb609
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user