mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
add a pointer data type serializer function in the boost serializer add the zmq and nanomsg directories in cmaklists that use the runSimpleMQStateMachine
This commit is contained in:
parent
afda64a83d
commit
8f32579984
|
@ -144,6 +144,7 @@ Set(FAIRMQHEADERS
|
|||
devices/BaseSourcePolicy.h
|
||||
options/FairProgOptionsHelper.h
|
||||
tools/FairMQTools.h
|
||||
tools/runSimpleMQStateMachine.h
|
||||
)
|
||||
Install(FILES ${FAIRMQHEADERS} DESTINATION include)
|
||||
|
||||
|
|
|
@ -131,10 +131,9 @@ class GenericProcessor : public FairMQDevice, public T, public U, public V
|
|||
{
|
||||
std::unique_ptr<FairMQMessage> msg(fTransportFactory->CreateMessage());
|
||||
|
||||
++receivedMsgs;
|
||||
|
||||
if (inputChannel.Receive(msg) > 0)
|
||||
{
|
||||
receivedMsgs++;
|
||||
// deserialization_type::DeserializeMsg(msg) --> deserialize data of msg and fill output container
|
||||
// proc_task_type::ExecuteTask( ... ) --> process output container
|
||||
proc_task_type::ExecuteTask(deserialization_type::DeserializeMsg(msg.get()));
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
|
||||
/// ZMQ/nmsg (in FairSoft)
|
||||
#ifdef NANOMSG
|
||||
#include "nanomsg/FairMQTransportFactoryNN.h"
|
||||
#include "FairMQTransportFactoryNN.h"
|
||||
#else
|
||||
#include "zeromq/FairMQTransportFactoryZMQ.h"
|
||||
#include "FairMQTransportFactoryZMQ.h"
|
||||
#endif
|
||||
|
||||
/// FairRoot - FairMQ
|
||||
|
|
Loading…
Reference in New Issue
Block a user