mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
* accept ZEROMQ_ROOT as env or cmake variable to hint at install location (used by aliBuild/alienv) * added more docs * fixed mismatch between module name ZeroMQ and prefix of generated variables ZMQ -> ZeroMQ is now the preferred prefix (old variables are still available and marked deprecated) * the aliBuild zeromq recipe does not install zmq.hpp header, so the module searches now for the zmq.h header (which is anyways the only one we use) * some cosmetic changes * add option ZeroMQ_NO_DEPRECATION to suppress deprecation warning |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ex4-copypush.json | ||
FairMQExample4Sampler.cxx | ||
FairMQExample4Sampler.h | ||
FairMQExample4Sink.cxx | ||
FairMQExample4Sink.h | ||
README.md | ||
runExample4Sampler.cxx | ||
runExample4Sink.cxx | ||
startMQEx4.sh.in |
Example 4: Copy & Push
A topology consisting of one Sampler and two Sinks. The Sampler uses the Copy
method to send the same data to both sinks with the PUSH-PULL pattern. In contrary to the PUB-PATTERN pattern, this ensures that all receivers are connected and no data is lost, but requires additional sockets.