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());
|
std::unique_ptr<FairMQMessage> msg(NewMessage());
|
||||||
T::Deserialize(idx);
|
T::Deserialize(idx);
|
||||||
Send<U>(fInput, fOutChanName);
|
Serialize<U>(msg,fInput);
|
||||||
|
Send(msg, fOutChanName);
|
||||||
sentMsgs++;
|
sentMsgs++;
|
||||||
if (!CheckCurrentState(RUNNING))
|
if (!CheckCurrentState(RUNNING))
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user