mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Add CRTP base class for the policies of the generic device
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
*
|
||||
* -------- INPUT POLICY --------
|
||||
* deserialization_type::InitContainer(...)
|
||||
* CONTAINER_TYPE deserialization_type::DeSerializeMsg(FairMQMessage* msg)
|
||||
* CONTAINER_TYPE deserialization_type::DeserializeMsg(FairMQMessage* msg)
|
||||
*
|
||||
*
|
||||
* -------- OUTPUT POLICY --------
|
||||
@@ -82,7 +82,7 @@ class GenericFileSink : public FairMQDevice, public T, public U
|
||||
|
||||
if (inputChannel.Receive(msg) > 0)
|
||||
{
|
||||
sink_type::AddToFile(deserialization_type::DeSerializeMsg(msg.get()));
|
||||
sink_type::AddToFile(deserialization_type::DeserializeMsg(msg.get()));
|
||||
receivedMsg++;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user